Part Number Hot Search : 
ANTXV2 105S5HFS APT60 CS840 N411052 AD9752AR C1569 SMB30C
Product Description
Full Text Search
 

To Download TMP1962F10AXBG Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 TMP1962F10AXBG
32-Bit RISC Microprocessor TX19 Family
TMP1962F10AXBG 1. Features
The TX19 is a family of high-performance 32-bit microprocessors that offers the speed of a 32-bit RISC solution with the added advantage of a significantly reduced code size of a 16-bit architecture. The instruction set of the TX19 includes as a subset the 32-bit instructions of the TX39, which is based on the MIPS R3000ATM architecture. Additionally, the TX19 supports the MIPS16 Application-Specific Extensions (ASE) for improved code density. The TMP1962 is built on a TX19 core processor and a selection of intelligent peripherals. The TMP1962 is suitable for low-voltage and low-power applications. Features of the TMP1962 include the following: (1) TX19 core processor 1) Two instruction set architecture (ISA) modes: 16-bit ISA for code density and 32-bit ISA for speed * * 2) The 16-bit ISA is object-code compatible with the code-efficient MIPS16 ASE. The 32-bit ISA is object-code compatible with the high-performance TX39 family.
High performance combined with low power consumption -- High performance * * * * * Single clock cycle execution for most instructions 3-operand computational instructions for high instruction throughput 5-stage pipeline On-chip high-speed memory DSP function: Executes 32-bit x 32-bit multiplier operations in a single clock cycle.
030619EBP
* The information contained herein is subject to change without notice. * The information contained herein is presented only as a guide for the applications of our products. No responsibility is assumed by TOSHIBA for any infringements of patents or other rights of the third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of TOSHIBA or others. * TOSHIBA is continually working to improve the quality and reliability of its products. Nevertheless, semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and vulnerability to physical stress. It is the responsibility of the buyer, when utilizing TOSHIBA products, to comply with the standards of safety in making a safe design for the entire system, and to avoid situations in which a malfunction or failure of such TOSHIBA products could cause loss of human life, bodily injury or damage to property. In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most recent TOSHIBA products specifications. Also, please keep in mind the precautions and conditions set forth in the "Handling Guide for Semiconductor Devices," or "TOSHIBA Semiconductor Reliability Handbook" etc.. * The TOSHIBA products listed in this document are intended for usage in general electronics applications (computer, personal equipment, office equipment, measuring equipment, industrial robotics, domestic appliances, etc.). These TOSHIBA products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunctionor failure of which may cause loss of human life or bodily injury ("Unintended Usage"). Unintended Usage include atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of safety devices, etc.. Unintended Usage of TOSHIBA products listed in this document shall be made at the customer's own risk. * The products described in this document are subject to the foreign exchange and foreign trade laws. * TOSHIBA products should not be embedded to the downstream products which are prohibited to be produced and sold, under any law and regulations. * For a discussion of how the reliability of microcontrollers can be predicted, please refer to Section 1.3 of the chapter entitled Quality and Reliability Assurance/Handling Precautions.
TMP1962F-1
TMP1962F10AXBG
-- Low power consumption * * 3) * * * Optimized design using a low-power cell library Programmable standby modes in which processor clocks are stopped Distinct starting locations for each interrupt service routine Automatically generated vectors for each interrupt source Automatic updates of the interrupt mask level
Fast interrupt response suitable for real-time control
(2) On-chip ROM/RAM Product TMP1962C10BXBG TMP1962F10AXBG On-chip ROM 1 Mbyte 1 Mbyte (Flash) On-chip RAM 40 kbyte 40 Kbyte
Collection function on ROM (8 words x 8 blocks) (3) External memory expansion * * 16-Mbyte off-chip address space for code and data External bus interface with dynamic bus sizing for 8-bit and 16-bit data ports (Separate bus/multiplex bus)
(4) 8-channel DMA controller * * * * * * * * * * * * * Interrupt- or software-triggered DMA transfers between on-chip or external memory and I/O module
(5) 12-channel 8-bit timer 8-bit/16-bit/24-bit/32-bit interval timer mode 8-bit PWM mode 8-bit PPG mode
(6) 4-channel 16-bit timer 16-bit interval timer mode 16-bit event counter mode 16-bit PPG output Input capture function 2-channel dual input counter function
(7) 32-bit input capture 8-channel 32-bit input capture register 8-channel 32-bit compare register 1-channel 32-bit time base timer
(8) 7-channel general-purpose serial interface Either UART mode or synchronous transfer mode can be selected. (9) 1-channel serial bus interface Either I2C bus mode or clock-synchronous mode can be selected. (10) 24-channel 10-bit A/D converter (with internal sample/hold)
TMP1962F-2
TMP1962F10AXBG
* * * * External trigger start function Fixed channel/scan mode Single/repeat mode Timer monitor function
(11) Watchdog timer (12) 4-channel chip select/wait controller (13) Interrupt sources * * * 4 CPU interrupts: 55 internal interrupts: 25 external interrupts: software interrupt instruction 7 priority levels, with the exception of the watchdog timer interrupt 7 priority levels, with the exception of the NMI interrupt 1 used for an interrupt source and 14 used for KWUP
(14) 202-pin input/output ports (15) Four standby modes * * * IDLE (HALT, DOZE), STOP
(16) Clock generator On-chip PLL (x3) Clock gear: Divides the operating speed of the CPU by 1/2, 1/4 or 1/8
TMP1962F-3
TMP1962F10AXBG
(17) Endian ......... Bi-Endian Big-endian
Higher address 31 8 4 0 Lower address 24 23 9 5 1 16 15 10 6 2 87 11 7 3 0 Word address 8 4 0
Byte 0 is the most significant byte (MSB) (bits 31-24) The address of a word data item is the address of its MSB (byte 0). Little-endian
Higher address 31 11 7 3 Lower address 24 23 10 6 2 16 15 9 5 1 87 8 4 0 0 Word address 8 4 0
Byte 0 is the least significant byte (LSB) (bits 7-0) The address of a word data item is the address of its LSB (byte 0). (18) Operating frequency 40.5 MHz (Vcc = 2.2 V to 2.7 V) (19) Package P-FBGA281 (13 x 13 x 0.65 mm pitch)
TMP1962F-4
TMP1962F10AXBG
TX19 Processor Core TX19 CPU MAC 1 Mbyte Flash ROM ROM correction DSU 40 Kbyte RAM
DMAC (8ch)
CG
INTC
EBIF
I/O Bus I/F
8-bit TMRA 0/1 to A/B (12ch)
16-bit TMRB 0 to 3 (4ch)
PORT0 to PORT6 (Shared with External Bus I/F)
32-bit TMRC TBT (1ch)
PORT7 to PORT9 (Shared with ADC Input)
32-bit TMRC Input Capture 0 to 7 (8ch) PORTA to PORTL, PORTN (Shared with Function Pins)
32-bit TMRC Compare 0 to 7 (8ch)
10-bit ADC (24ch)
SIO 0 to 6 (7ch)
PORTM, PORTO to PORTP (General Port)
IC (1ch)
2
KWUP 0 to D (14ch)
WDT
Figure 1.1 TMP1962F10AXBG Block Diagram
TMP1962F-5
TMP1962F10AXBG
2.
Pin Assignment
This section contains pin assignments for the TMP1962F10AXBG as well as brief description of the TMP1962F10AXBG input and output signals.
2.1
Pin Assignment
The following illustrates the TMP1962F10AXBG pin assignment.
A1 B1 C1 D1 E1 F1 G1 H1 J1 K1 L1 M1 N1 P1 R1 T1 U1
A2 B2 C2 D2 E2 F2 G2 H2 J2 K2 L2 M2 N2 P2 R2 T2 U2 V2
A3 B3 C3 D3 E3 F3 G3 H3 J3 K3 L3 M3 N3 P3 R3 T3 U3 V3
A4 B4 C4 D4 E4 F4 G4 H4 J4 K4 L4 M4 N4 P4 R4 T4 U4 V4
A5 B5 C5 D5 E5 F5 G5 H5 J5 K5 L5 M5 N5 P5 R5 T5 U5 V5
A6 B6 C6 D6 E6
A7 B7 C7 D7 E7 F7
A8 B8 C8 D8 E8 F8
A9 B9 C9 D9 E9 F9
A10 B10 C10 D10 E10 F10
A11 B11 C11 D11 E11 F11
A12 B12 C12 D12 E12 F12
A13 B13 C13 D13 E13
A14 B14 C14 D14 E14 F14
A15 B15 C15 D15 E15 F15 G15 H15 J15 K15 L15 M15 N15 P15 R15 T15 U15 V15
A16 B16 C16 D16 E16 F16 G16 H16 J16 K16 L16 M16 N16 P16 R16 T16 U16 V16
A17 B17 C17 D17 E17 F17 G17 H17 J17 K17 L17 M17 N17 P17 R17 T17 U17 V17 B18 C18 D18 E18 F18 G18 H18 J18 K18 L18 M18 N18 P18 R18 T18 U18
G6 H6 J6 K6 L6 M6 N7 P6 R6 T6 U6 V6 P7 R7 T7 U7 V7 N8 P8 R8 T8 U8 V8 N9 P9 R9 T9 U9 V9 N10 P10 R10 T10 U10 V10 N11 P11 R11 T11 U11 V11 N12 P12 R12 T12 U12 V12
G13 H13 J13 K13 L13 M13
G14 H14 J14 K14 L14 M14 N14
P13 R13 T13 U13 V13
P14 R14 T14 U14 V14
Figure 2.1 Pin Assignment (P-FBGA281) The following provides a pin cross reference by pin number. Table 2.1 Pin Cross Reference by Pin Number (1/2) Pin No.
A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12
Pin Name
NC VREFL P90/AIN16 P93/AIN19 P80/AIN8 P83/AIN11 P70/AIN0 P74/AIN4 NC PL2/TA8IN PM0 PK0/KEY0
Pin No.
A13 A14 A15 A16 A17 B1 B2 B3 B4 B5 B6 B7
Pin Name
PK1/KEY1 PI1/INT1 PI3/INT3 PI6/INTA X2 AVCC31 VREFH P91/AIN17 P94/AIN20 P81/AIN9 P84/AIN12 P71/AIN1
Pin No.
B8 B9 B10 B11 B12 B13 B14 B15 B16 B17 B18 C1
Pin Name
P75/AIN5 PL0/TA4IN PL3/TAAIN PM1 PM4 PK2/KEY2 PI2/INT2 PI4/INT4 PI7 CVSS X1 PCST0 (DSU)
Pin No.
C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13
Pin Name
PCST3 (DSU) P92/AIN18 P95/AIN21 P82/AIN10 P85/AIN13 P72/AIN2 AVSS PL1/TA6IN PL4/TB0IN0 PM2 PM5 PK3/KEY3
Pin No.
C14 C15 C16 C17 C18 D1 D2 D3 D4 D5 D6 D7
Pin Name
PK6/KEY6 PI5/INT9 TCK (JTAG) CVCC2 XT2 SDAO/TPC (DSU) PCST2 (DSU) SDI/ DINT (DSU) DVCC2 P96/AIN22 P86/AIN14 P73/AIN3
TMP1962F-6
TMP1962F10AXBG
Table 2.1 Pin Cross Reference by Pin Number (2/2) Pin No.
D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 E11 E12 E13 E14 E15 E16 E17 E18 F1 F2 F3 F4 F5 F7 F8 F9 F10 F11 F12 F14 F15 F16 F17
Pin Name
DVCC2 DVSS PL5/TB0IN1 PM3 PM6 PK4/KEY4 PK7/KEY7 DVCC34 TDI (JTAG) TDO (JTAG) XT1 DCLK (DSU) PCST1 (DSU)
DBGE
Pin No.
F18 G1 G2 G3 G4 G5 G6 G13 G14 G15 G16 G17 G18 H1 H2 H3 H4 H5 H6 H13 H14 H15 H16 H17 H18 J1 J2 J3 J4 J5 J6 J13 J14 J15 J16 J17 J18 K1 K2 K3 K4 K5 K6 K13
Pin Name
P44/SCOUT
RESET
Pin No.
K14 K15 K16 K17 K18 L1 L2 L3 L4 L5 L6 L13 L14 L15 L16 L17 L18 M1 M2 M3 M4 M5 M6 M13 M14 M15 M16 M17 M18 N1 N2 N3 N4 N5 N7 N8 N9 N10 N11 N12 N14 N15 N16 N17
Pin Name
P12/D10/AD10 P13/D11/AD11 P14/D12/AD12 DVCC33 P15/D13/AD13 FVCC3 PO1 PO2 PO3 PO4 PO7 TEST3 P06/D6/AD6 FVCC2 P07/D7/AD7 P10/D8/AD8 P11/D9/AD9 PO0 PP5 PP6 PP7 PB7/TB3OUT DVCC32 TEST4 P02/D2/AD2 FVSS P03/D3/AD3 P04/D4/AD4 P05/D5/AD5 PP1 PP2 PP3 PP4 PB6/TB3IN1/INT8 DVSS PD7/KEY8 DVCC2 DVSS RSTPUP DVSS P26/A22/A6 P27/A23/A7 P00/D0/AD0 P01/D1/AD1
Pin No.
N18 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 P15 P16 P17 P18 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 T1 T2 T3 T4 T5 T6 T7
Pin Name
DVSS PP0 PB2/TB2IN0/INT5 PB3/TB2IN1/INT6 PB4/TB2OUT PB5/TB3IN0/INT7 PG5/TC5IN PG7/TC7IN PD6/SCLK4/ CTS4 PC2/SCLK0/ CTS0 PC5/SCLK1/ CTS1 PH6/TCOUT6 NC P50/A0 P51/A1 P54/A4 P23/A19/A3 P24/A20/A4 P25/A21/A5 PB0/TB0OUT PB1/TB1OUT PF3/ DREQ2 PF4/ DACK 2 PF7/TBTIN PG4/TC4IN PG6/TC6IN PD5/RXD4 PC1/RXD0 PC4/RXD1 PH5/TCOUT5 PH7/TCOUT7 PE6/KEYC P52/A2 P55/A5 P61/A9 P21/A17/A1 P22/A18/A2 PA1/TA1OUT PA4/TA5OUT PA7/TABOUT PF2/SCK PF6/ DACK3 PG3/TC3IN PD3/SCLK3/ CTS3
Pin No.
T8 T9 T10 T11 T12 T13 T14 T15 T16 T17 T18 U1 U2 U3 U4 U5 U6 U7 U8 U9 U10 U11 U12 U13 U14 U15 U16 U17 U18 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17
Pin Name
PD4/TXD4 PC0/TXD0 PC3/TXD1 PH4/TCOUT4 PE2/SCLK5/ CTS5 PE5/KEYB P53/A3 P56/A6 P62/A10 P65/A13 P20/A16/A0 PA0/TA0IN PA3/TA3OUT PA6/TA9OUT PF1/SI/SCL PF5/ DREQ3 PG2/TC2IN PD2/RXD3 DVCC32 PC7/RXD2 PH1/TCOUT1 PH3/TCOUT3 PE1/RXD5 PE4/KEYA DVCC32 P57/A7 P63/A11 P66/A14 DVCC33 PA2/TA2IN PA5/TA7OUT PF0/SO/SDA PG0/TC0IN PG1/TC1IN PD1/TXD3 PD0/SCLK2/ CTS2 PC6/TXD2 PH0/TCOUT0 PH2/TCOUT2 PE0/TXD5 PE3/KEY9 PE7/KEYD P60/A8 P64/A12 P67/A15
TEST5 FVCC2 FVSS PJ0/INT0 BW0
TRST
CAP1 P41/ CS1 P37/ALE P35/ BUSAK FVCC2
NMI
PJ3/INTLV PJ4/ENDIAN P97/AIN23 P87/AIN15 P76/AIN6 P77/AIN7 PL6/TB1IN0 PL7/TB1IN1 PM7 PK5/KEY5 NC TMS (JTAG) CVCCH NC DVCC2 DVSS
DRESET
DVCC31 PN7 BW1
PLLOFF
TEST1 TEST2 P31/ WR P32/ HWR P33/WAIT/RDY P30/ RD P40/ CS0 PN2/SCLK6/ CTS6 PN3 PN4 PN5 PN6 DVCC2 FVSS P16/D14/AD14 DVSS P17/D15/AD15 P36/ R / W P34/ BUSRQ PN0/TXD6 PN1/RXD6 PO5 PO6 FVSS DVSS TEST0
SYSRDY PJ1/BUSMD PJ2/ BOOT AVSS AVSS AVCC32 DVCC34 PI0/ ADTRG DVSS CAP2 P42/ CS2 P43/ CS3 DVCC33
TMP1962F-7
TMP1962F10AXBG
2.2
Pin Usage Information
Table 2.2 lists input and output pins of the TMP1962F10AXBG. Table 2.2 Pin Names and Function (1/6)
Pin Name
P00-P07 D0-D7 AD0-D7 P10-P17 D8-D15 AD8-AD15 A8-A15 P20-P27 A16-A23 A0-A7 A16-A23 P30
RD
# of Pins
8
Type
Input/Output Input/Output Input/Output
Function
Port 0: Individually programmable input or output Data (Lower): Bits 0-7 of the data bus (separate bus mode) Address /Data (Lower): Bits 0-7 of the address/data bus (multiplex bus mode) Port 1: Individually programmable input or output Data (Upper): Bits 8-15 of the data bus (separate bus mode) Address /Data (Upper): Bits 8-15 of the address/data bus (multiplex bus mode) Address: Bits 8-15 of the address bus (multiplex bus mode) Port 2: Individually programmable input or output Address: Bit 15-23 of the address bus (separate bus mode) Address: Bit 0-7 of the address bus (multiplex bus mode) Address: Bit 16-23 of the address bus (multiplex bus mode) Port 30: Output-only Read Strobe: Asserted during a read operation from an external memory device Port 31: Output-only Write Strobe: Asserted during a write operation on D0-D7 Port 32: Programmable as input or output (with internal pull-up register) Higher Write Strobe: Asserted during a write operation on D8-D15 Port 33: Programmable as input or output (with internal pull-up resister) Wait: Causes the CPU to suspend external bus activity Ready: Informs the CPU of bus ready condition Port 34: Programmable as input or output (with internal pull-up resister) Bus Request: Asserted by an external bus master to request bus mastership Port 35: Programmable as input or output (with internal pull-up resister) Bus Acknowledge: Indicates that the CPU has relinquished the bus in response to BUSRQ . Port 36: Programmable as input or output (with internal pull-up resister) Read/Write: Indicates the direction of data transfer on the bus: 1 = read or dummy cycle, 0 = write cycle Port 37: Programmable as input or output Address Latch Enable (This signal is driven out only when external memory is accessed.) Port 40: Programmable as input or output (with internal pull-up resister) Chip Select 0: Asserted low to enable external devices at programmed addresses Port 41: Programmable as input or output (with internal pull-up resister) Chip Select 1: Asserted low to enable external devices at programmed addresses Port 42: Programmable as input or output (with internal pull-up resister) Chip Select 2: Asserted low to enable external devices at programmed addresses Port 43: Programmable as input or output (with internal pull-up resister) Chip Select 3: Asserted low to enable external devices at programmed addresses Port 44: Programmable as input or output System Clock Output: Drives out a clock signal at the frequency equal to or one half of CPU clock (high-speed or low-speed) Port 5: Individually programmable as input or output Address: Address bus 0-7 (separate bus mode) Port 6: Individually programmable as input or output Address: Address bus 8-15 (separate bus mode) Port 7: Input-only Analog Input: Input to the on-chip A/D converter Port 8: Input-only Analog Input: Input to the on-chip A/D converter
8
Input/Output Input/Output Input/Output Output
8
Input/Output Output Output Output
1 1 1 1
Output Output Output Output Input/Output Output Input/Output Input Input
P31
WR
P32
HWR
P33
WAIT RDY
P34
BUSRQ
1 1
Input/Output Input Input/Output Output
P35
BUSAK
P36
R/ W
1
Input/Output Output
P37 ALE P40
CS0
1
Input/Output Output
1 1 1 1 1
Input/Output Output Input/Output Output Input/Output Output Input/Output Output Input/Output Output
P41
CS1
P42
CS2
P43
CS3
P44 SCOUT P50-P57 A0-A7 P60-P67 A8-A15 P70-P77 AN0-AN7 P80-P87 AN8-AN15
8 8 8 8
Input/Output Output Input/Output Output Input Input Input Input
TMP1962F-8
TMP1962F10AXBG
Table 2.2 Pin Names and Function (2/6) Pin Name
P90-P97 AN16-AN23 PI0
ADTRG
# of Pins
8 1
Type
Input Input Input/Output Input Port 9: Input-only
Function
Analog Input: Input to the on-chip A/D converter Port I0: Programmable as input or output AD Trigger: Starts an A/D conversion Schmitt trigger input Port I1: Programmable as input or output Interrupt Request 1: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input Port I2: Programmable as input or output Interrupt Request 2: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input Port I3: Programmable as input or output Interrupt Request 3: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input Port I4: Programmable as input or output Interrupt Request 4: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input Port I5: Programmable as input or output Interrupt Request 9: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input Port I6: Programmable as input or output Interrupt Request A: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input Port I7: Programmable as input or output Port A0: Programmable as input or output 8-Bit Timer 0 Input: Input to 8-bit Timer 0 Port A1: Programmable as input or output 8-Bit Timer 01 Output: Output from either 8-bit Timer 0 or Timer 1 Port A2: Programmable as input or output 8-Bit Timer 2 Input: Input to 8-bit Timer 2 Port A3: Programmable as input or output 8-Bit Timer 23 Output: Output from either 8-bit Timer 2 or Timer 3 Port A4: Programmable as input or output 8-Bit Timer 45 Output: Output from either 8-bit Timer 4 or Timer 5 Port A5: Programmable as input or output 8-Bit Timer 67 Output: Output from either 8-bit Timer 6 or Timer 7 Port A6: Programmable as input or output 8-Bit Timer 89 Output: Output from either 8-bit Timer 8 or Timer 9 Port A7: Programmable as input or output 8-Bit Timer AB Output: Output from either 8-bit Timer A or Timer B Port B0: Programmable as input or output 16-Bit Timer 0 Output: Output from 16-bit Timer 0 Port B1: Programmable as input or output 16-Bit Timer 1 Output: Output from 16-bit Timer 1 Port B2: Programmable as input or output 16-Bit Timer 2 Input 0: Count/capture trigger input to 16-bit Timer 2 Interrupt Request 5: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive
PI1 INT1
1
Input/Output Input
PI2 INT2
1
Input/Output Input
PI3 INT3
1
Input/Output Input
PI4 INT4
1
Input/Output Input
PI5 INT9
1
Input/Output Input
PI6 INTA
1
Input/Output Input
PI7 PA0 TA0IN PA1 TA1OUT PA2 TA2IN PA3 TA3OUT PA4 TA5OUT PA5 TA7OUT PA6 TA9OUT PA7 TABOUT PB0 TB0OUT PB1 TB1OUT PB2 TB2IN0 INT5
1 1 1 1 1 1 1 1 1 1 1 1
Input/Output Input/Output Input Input/Output Output Input/Output Input Input/Output Output Input/Output Output Input/Output Output Input/Output Input Input/Output Output Input/Output Output Input/Output Output Input/Output Input Input
TMP1962F-9
TMP1962F10AXBG
Table 2.2 Pin Names and Function (3/6) Pin Name
PB3 TB2IN1 INT6 PB4 TB2OUT PB5 TB3IN0 INT7 PB6 TB3IN1 INT8 PB7 TB3OUT PC0 TXD0 PC1 RXD0 PC2 SCLK0
CTS0
# of Pins
1
Type
Input/Output Input Input
Function
Port B3: Programmable as input or output 16-Bit Timer 2 Input 1: Capture trigger input to 16-bit Timer 2 Interrupt Request 6: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Port B4: Programmable as input or output 16-Bit Timer 2 Output: Output from 16-bit Timer 2 Port B5: Programmable as input or output 16-Bit Timer 3 Input 0: Count/capture trigger input to 16-bit Timer 3 Interrupt Request 7: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Port B6: Programmable as input or output 16-Bit Timer 3 Input 1: Capture trigger input to 16-bit Timer 3 Interrupt Request 8: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Port B7: Programmable as input or output 16-Bit Timer 3 Output: Output from 16-bit Timer 3 Port C0: Programmable as input or output Serial Transmit Data 0: Programmable as a push-pull or open-drain output Port C1: Programmable as input or output Serial Receive Data 0 Port C2: Programmable as input or output Serial Clock Input/Output 0 Serial Clear-to-Send 0 Programmable as a push-pull or open-drain output Port C3: Programmable as input or output Serial Transmit Data 1: Programmable as a push-pull or open-drain output Port C4: Programmable as input or output Serial Receive Data 1 Port C5: Programmable as input or output Serial Clock Input/Output 1 Serial Clear-to-Send 1 Programmable as a push-pull or open-drain output Port C6: Programmable as input or output Serial Transmit Data 2: Programmable as a push-pull or open-drain output Port C7: Programmable as input or output Serial Receive Data 2 Port D0: Programmable as input or output Serial Clock Input/Output 2 Serial Clear-to-Send 2 Programmable as a push-pull or open-drain output Port D1: Programmable as input or output Serial Transmit Data 3: Programmable as a push-pull or open-drain output Port D2: Programmable as input or output Serial Receive Data 3 Port D3: Programmable as input or output Serial Clock Input/Output 3 Serial Clear-to-Send 3 Programmable as a push-pull or open-drain output Port D4: Programmable as input or output Serial Transmit Data 4: Programmable as a push-pull or open-drain output Port D5: Programmable as input or output Serial Receive Data 4 Port D6: Programmable as input or output Serial Clock Input/Output 4 Serial Clear-to-Send 4 Programmable as a push-pull or open-drain output Port D7: Programmable as input or output KEY on wake up Input 8: (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input
1 1
Input/Output Output Input/Output Input Input
1
Input/Output Input Input
1 1 1 1
Input/Output Output Input/Output Output Input/Output Input Input/Output Input Input
PC3 TXD1 PC4 RXD1 PC5 SCLK1
CTS1
1 1 1
Input/Output Output Input/Output Input Input/Output Input Input
PC6 TXD2 PC7 RXD2 PD0 SCLK2
CTS2
1 1 1
Input/Output Output Input/Output Input Input/Output Input Input
PD1 TXD3 PD2 RXD3 PD3 SCLK3
CTS3
1 1 1
Input/Output Output Input/Output Input Input/Output Input Input
PD4 TXD4 PD5 RXD4 PD6 SCLK4
CTS4
1 1 1
Input/Output Output Input/Output Input Input/Output Input Input
PD7 KEY8
1
Input/Output Input
TMP1962F-10
TMP1962F10AXBG
Table 2.2 Pin Names and Function (4/6) Pin Name
PE0 TXD5 PE1 RXD5 PE2 SCLK5
CTS5
# of Pins
1 1 1
Type
Input/Output Output Input/Output Input Input/Output Input Input
Function
Port E0: Programmable as input or output Serial Transmit Data 5: Programmable as a push-pull or open-drain output Port E1: Programmable as input or output Serial Receive Data 5 Port E2: Programmable as input or output Serial Clock Input/Output 5 Serial Clear-to-Send 5 Programmable as a push-pull or open-drain output Port E3: Programmable as input or output KEY on wake up Input 9: (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input Port E4: Programmable as input or output KEY on wake up Input A: (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input Port E5: Programmable as input or output KEY on wake up Input B: (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input Port E6: Programmable as input or output KEY on wake up Input C: (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input Port C7: Programmable as input or output KEY on wake up Input D: (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input Port F0: Programmable as input or output Data transmit pin when the Serial Bus Interface is in SIO mode Data transmit/receive pin when the Serial Bus Interface is in I2C mode; programmable as a push-pull or open-drain output Schmitt trigger input Port F1: Programmable as input or output Data receive pin when the Serial Bus Interface is in SIO mode Clock input/output pin when the Serial Bus Interface is in I2C mode; programmable as a push-pull or open-drain output Schmitt trigger input Port F2: Programmable as input or output Clock input/output pin when the Serial Bus Interface is in SIO mode Port F3: Programmable as input or output DMA Request 2: DMA transfer request from an external I/O device to DMAC2 Port F4: Programmable as input or output DMA Acknowledge 2: Acknowledge signal for DMA transfer requested by DREQ2 Port F5: Programmable as input or output DMA Request 3: DMA transfer request from an external I/O device to DMAC3 Port F6: Programmable as input or output DMA Acknowledge 3: Acknowledge signal for DMA transfer requested by DREQ3 Port F7: Programmable as input or output 32-bit Time-Base Timer Input: Count input to 32-bit time-base Timer Port G: Individually programmable as input or output 32-Bit Timer Capture Trigger Input Port H: Individually programmable as input or output 32-Bit Timer Compare Match Output Port J0: Programmable as input or output Interrupt Request 0: Programmable to be high-level, low-level, rising-edge or falling-edge sensitive Schmitt trigger input
PE3 KEY9 PE4 KEYA PE5 KEYB PE6 KEYC PE7 KEYD PF0 SO SDA
1
Input/Output Input
1
Input/Output Input
1
Input/Output Input
1
Input/Output Input
1
Input/Output Input
1
Input/Output Output Input/Output
PF1 SI SCL
1
Input/Output Input Input/Output
PF2 SCK PF3
DREQ2
1 1 1 1 1 1 8 8
Input/Output Input/Output Input/Output Input Input/Output Output Input/Output Input Input/Output Output Input/Output Input Input/Output Input Input/Output Output
PF4
DACK 2
PF5
DREQ3
PF6
DACK3
PF7 TBTIN PG0-PG7 TC0IN-TC7IN PH0-PH7 TCOUT0-TCO UT7 PJ0 INT0
1
Input/Output Input
TMP1962F-11
TMP1962F10AXBG
Table 2.2 Pin Names and Function (5/6) Pin Name
PJ1 BUSMD
# of Pins
1
Type
Input/Output Input
Function
Port J1: Programmable as input or output External Bus Mode: If this pin is sampled high (DVCC21) at the rising edge of RESET, the TMP1962F10AXBG enters multiplex bus mode. If this pin is sampled low at the rising edge of RESET, the TMP1962F10AXBG enters separate bus mode. During a reset sequence, this pin should be pulled up to a logic 1or pulled down to a logic 0 depending on the bus mode to be used. Port J2: Programmable as input or output Single Boot Mode: If this pin is sampled low at the rising edge of RESET, the TMP1962F10AXBG enters Single Boot mode for re-programming of the on-chip flash. If this pin is sampled high (DVCC21) at the rising edge of RESET, the TMP1962F10AXBG enters NORMAL mode. During a reset sequence, this pin should be pulled up to a logic 1 commonly. Port J3: Programmable as input or output Interleave Mode: The TMP1962F10AXBG enters Interleave mode when this pin is sampled high (DVCC21) at the rising edge of RESET. During a reset sequence, this pin should be pulled up to a logic 1. Port J4: Programmable as input or output This pin is used to set the mode. If this pin is sampled high (DVCC21) at the rising edge of RESET, the TMP1962F10AXBG enters Big-endian mode. If this pin is sampled low at the rising edge of RESET, the TMP1962F10AXBG enters Little-endian mode. During a reset sequence, this pin should be pulled up to a logic 1or pulled down to a logic 0 depending the endian to be used. Port K: Programmable as input or output Key on wake up input 0-7 (dynamic pull-up selectable) (with internal pull-up register) Schmitt trigger input Port L0: Programmable as input or output 8-bit Timer 4 Input: Input to 8-bit Timer 4 Port L1: Programmable as input or output 8-bit Timer 6 Input: Input to 8-bit Timer 6 Port L2: Programmable as input or output 8-bit Timer 8 Input: Input to 8-bit Timer 8 Port L3: Programmable as input or output 8-bit Timer A Input: Input to 8-bit Timer A Port L4: Programmable as input or output 16-Bit Timer 0 Input 0: Count/capture trigger input to 16-bit Timer 0 Port L5: Programmable as input or output 16-Bit Timer 0 Input 1: Capture trigger input to 16-bit Timer 0 Port L6: Programmable as input or output 16-Bit Timer 1 Input 0: Count/capture trigger input to 16-bit Timer 1 Port L7: Programmable as input or output 16-Bit Timer 1 Input 1: Capture trigger input to 16-bit Timer 1 Port M: Individually programmable input or output Port N0: Programmable as input or output Serial Transmit Data 6: Programmable as a push-pull or open-drain output Port N1: Programmable as input or output Serial Receive Data 6 Port N2: Programmable as input or output Serial Clock Input/Output 6 Serial Clear-to-Send 6 Programmable as a push-pull or open-drain output Port N3-N7: Individually programmable input or output Port O: Individually programmable input or output Port P: Individually programmable input or output
PJ2
BOOT
1
Input/Output Input
PJ3 INTLV
1
Input/Output Input
PJ4 ENDIAN
1
Input/Output Input
PK0-PK7 KEY0-KEY7 PL0 TA4IN PL1 TA6IN PL2 TA8IN PL3 TAAIN PL4 TB0IN0 PL5 TB0IN1 PL6 TB1IN0 PL7 TB1IN1 PM0-PM7 PN0 TXD6 PN1 RXD6 PN2 SCLK6
CTS6
8
Input/Output Input
1 1 1 1 1 1 1 1 8 1 1 1
Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input/Output Input/Output Output Input/Output Input Input/Output Input Input
PN3-PN7 PO0-PO7 PP0-PP7
5 8 8
Input/Output Input/Output Input/Output
TMP1962F-12
TMP1962F10AXBG
Table 2.2 Pin Names and Function (6/6) Pin Name
NMI PLLOFF
# of Pins
1 1
Type
Input Input
Function
Nonmaskable Interrupt Request: Causes an NMI interrupt on the falling edge This pin should be tied to High (DVCC21) when the frequency multiplied clock from the PLL is used; Otherwise, it should be tied to Low. Schmitt trigger input During a reset sequence, Port 3 and Port 4 are pull-up enabled if this pin is sampled High (DVCC32), and disabled if this pin is sampled Low. Schmitt trigger input Reset (with internal pull-up register): Initializes the whole TMP1962F10AXBG Schmitt trigger input Connection pins for a high-speed crystal This pin should be left open. Debug Reset: Signal for DSU- ICE (Schmitt trigger input, with internal pull-up register) Debug Clock: Signal for DSU-ICE Debug Enable: Signal for DSU-ICE (Schmitt trigger input, with internal pull-up register) PC Trace Status: Signal for DSU-ICE Serial Data Input/Debug Interrupt: Signal for DSU-ICE (Schmitt trigger input, with internal pull-up register) Serial Data and Address Output/Target PC: Signal for DSU-ICE Test Clock Input: Signal for JTAG test (Schmitt trigger input, with internal pull-up register) Test Mode Select Input: Signal for JTAG test (Schmitt trigger input, with internal pull-up register) Test Data Input: Signal for JTAG test (Schmitt trigger input, with internal pull-up register) Test Data Output: Signal for JTAG test Test Reset Input: Signal for JTAG test (Schmitt trigger input, with internal pull-up register) Both BW0 and BW1 should be tied to High (DVCC21). (Schmitt trigger input) Input pin for high reference voltage for the A/D Converter This pin should be connected to the AVCC pin when the A/D Converter is not used. Input pin for low reference voltage for the A/D Converter This pin should be connected to the AVCC pin when the A/D Converter is not used.
RSTPUP
1
Input
RESET
1 2 2 1 1 1 4 1 1 1 1 1 1 1 2 1 1 2 3 1 1 1 1 1 1 1 1 1 1 1 1 3 1 4 5 9 9
Input Input/Output Input/Output Input Output Input Output Input Output Input Input Input Output Input Input Input Input Input Input Output
X1/X2 XT1/XT2
DRESET
DCLK
DBGE
PCST3-0 SDI/ DINT SDAO/TPC TCK TMS TDI TDO
TRST
BW0-1 VREFH VREFL AVCC31-32 AVSS TEST0 TEST1 TEST2 TEST3 TEST4 TEST5 SYSRDY CVCC2 CVSS CVCCH CAP1 CAP2 FVCC2 FVCC3 FVSS DVCC21-22 DVCC31-34 DVSS
Power supply pins for the A/D Converter. These pins should always be connected to power supply even when the A/D Converter is not used. Ground pins for the A/D Converter. These pins should always be connected to ground even when the A/D Converter is not used. Test pin: This pin should be left open or tied to ground. Test pin: This pin should be tied to ground. Test pin: This pin should be left open or tied to ground. Test pin: This pin should be left open or tied to ground. Test pin: This pin should be left open or tied to ground. Test pin: This pin should be tied to ground. Signal to grant access to a flash memory Power supply pins for an oscillator: 2.5 V Ground pin for an oscillator (0 V) This pin should be left open. This pin should be left open. This pin should be left open. Power supply pins for a Flash memory: 2.5 V Power supply pin for a flash memory: 3 V Ground pins for a flash memory (0 V) Power supply pins: 2.5 V Power supply pins: 3 V Ground pins (0V)
TMP1962F-13
TMP1962F10AXBG
Note 1: PJ1, PJ2, PJ3 and PJ4 should be held at the prescribed logic states for one system clock cycle before and after the rising edge of RESET, with the RESET signal being stable in either logic state. Note 2: Debugging with a DSU-probe is enabled on the TMP1962F10AXBG. Connection to the DSU-probe is available on the TMP1962C10BXBG, but a DSU-probe can not read the contents of on-chip ROM or write to registers other than the processor core, on-chip memory and external device.
Table 2.3 shows correspondence between pins and power supply pins. Table 2.3 Pins and Corresponding Power Supply Pins Pin
P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 PA PB PC PD PE PF PG PH PI PJ PK PL PM PN
Power Supply Mask Type
DVCC33 DVCC33 DVCC33 DVCC33 DVCC33 DVCC33 DVCC33 AVCC32 AVCC32 AVCC31 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC34 DVCC2 DVCC34 DVCC34 DVCC34 DVCC31
Flash Type
DVCC33 DVCC33 DVCC33 DVCC33 DVCC33 DVCC33 DVCC33 AVCC32 AVCC32 AVCC31 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC32 DVCC34 DVCC21 DVCC34 DVCC34 DVCC34 DVCC31
Pin
PO PP X1 X2
RESET NMI PLLOFF DRESET
Power Supply Mask Type
DVCC31 DVCC31 CVCC15 CVCC15 DVCC2 DVCC2 DVCC2 DVCC2 DVCC2 DVCC2 DVCC2 DVCC2 DVCC2 DVCC34 DVCC34 DVCC34 DVCC34 DVCC34 DVCC2 DVCC32
Flash Type
DVCC31 DVCC31 CVCC2 CVCC2 DVCC21 DVCC21 DVCC21 DVCC21 DVCC21 DVCC21 DVCC21 DVCC21 DVCC21 DVCC34 DVCC34 DVCC34 DVCC34 DVCC34 DVCC21 DVCC32
DCLK
DBGE
PCST3-0 SDI/ DINT SDAO/TPC TCK TMS TDI TDO
TRST
BW1-0 RSTPUP
TMP1962F-14
TMP1962F10AXBG
Table 2.4 shows the supply voltage for power supply pins. Table 2.4 Supply Voltage for Power Supply Pins Power Supply Pin Supply Voltage
DVCC15 CVCC15 DVCC2 DVCC21 DVCC22 CVCC2 FVCC2 FVCC3 DVCC31 - 34 AVCC31 - 32 1.35 V - 1.65 V 1.35 V - 1.65 V 2.3 V - 3.3 V 2.2 V - 2.7 V 2.2 V - 2.7 V 2.2 V - 2.7 V 2.2 V - 2.7 V 2.9 V - 3.6 V 1.65 V - 3.3 V 2.7 V - 3.3 V Mask/Flash Type Flash Type Mask Type
Applied for
Note 1: AVCC32 AVCC31 * * When P7 to P9 are used as A/D converter inputs: 2.7 AVCC3* When P9 (powered by AVCC31) is used as an A/D converter input while P7 and P8 (powered by AVCC32) are used as ports: 2.7 V AVCC31 3.3 V 1.65 V AVCC32 AVCC31 * When P7 (powered by AVCC32) is used as an A/D converter input which P8 (powered by AVCC32) and P9 (powered by AVCC31) are used as ports: 2.7 V AVCC32 AVCC31 3.3 V Note2: With power supplies for CPU and internal logic (mask type: DVCC15/DVCC2/DVCC15, and flash type: DVCC21/DVCC22/CVCC2/FVCC2/FVCC3) being applied, power supplies for other I/O ports can be interrupted on the TMP1962. However, when AVCC31 for analog power supply is interrupted, overlap current is generated on the TMP1962F10A with on-chip flash memory during the transition to be stable in 0 V. Overlap current can be suppressed by AD conversion of the conversion result 0 V before interrupting AVCC31 power supply, but suppress it on devices.
TMP1962F-15
TMP1962F10AXBG
3.
Flash Memory
This chapter describes the flash memory of the TMP1962F10AXBG, a flash version of the TMP1962C10BXBG. The TMP1962F10AXBG contains a 1-Mbyte flash EEPROM and 40-kbyte RAM whereas the TMP1962C10BXBG contains a 1-Mbyte ROM and a 40-kbyte RAM. In other respects, the hardware configuration and the functionality of the TMP1962F10AXBG are identical to those of the TMP1962C10BXBG. For descriptions of the on-chip I/O peripherals, refer to the TMP1962C10BXBG datasheet.
3.1
Features
(1) Organization The TMP1962F10AXBG contains 8 Mbits (1024 kbytes) of flash memory, which is divided into a total of 8 blocks (128-kbyte x 8) to allow for independent protection from program and erase for each block. While the CPU can access information in the flash through a full 32-bit data bus, an external flash programmer can only perform 16-bit data bus writes to the flash. (2) Access Types The flash memory of the TMP1962F10AXBG provides the interleaved access type. (3) Program/Erase Time * * Chip programming time: 15 seconds (typ.) including verify operations Chip erase time: 40 seconds (typ.), including verify operations
Note: These program and erase times are typical values and do not include data transfer overhead. The actual chip program and erase times depend on the programming method used.
(4) Programming Modes Several options exist to program the TMP1962F10AXBG flash memory. On-Board Programming modes allow for re-programming of the flash memory while the chip is soldered on a printed circuit board. Programmer mode utilizes an EPROM programmer to perform code updates. * On-Board Programming modes 1) User Boot mode Supports use of a user-written programming algorithm. 2) Single Boot mode Downloads the new program code using a Toshiba-defined serial interface protocol. * Programmer Mode Supports use of a general-purpose EPROM programmer. (5) Re-programming The TMP1962F10AXBG flash memory is compatible with the JEDEC standards, except a few unique functions. Thus, it is easy to migrate from a discrete flash memory device to the on-chip flash memory of the TMP1962F10AXBG. The TMP1962F10AXBG contains hardware to perform programming and erase operations automatically. This eliminates the need for the user to code complex program and erase sequences. The security feature of the TMP1962F10AXBG flash memory prevents the stored data from being read while it is being re-programmed with programming equipment. The TMP1962F10AXBG also allows the user to protect individual blocks of the flash memory against program or erase through software commands; however, 12-V VPP programming does not support data protection on a block-by-block basis. The flash memory is secured automatically by all of 8 blocks being protected. Unsecuring the flash memory automatically erases the stored data prior to unprotecting the blocks.
TMP1962F-15
TMP1962F10AXBG
JEDEC Standard
Auto Program Auto Chip Erase Auto Block Erase Auto Multi-Block Erase Data Polling / Toggle Bit
Changes and Enhancements
Added feature: Security Auto Program Changed feature: Block protection is available only under software control. Removed feature: Erase Resume/Suspend mode
3.2
Block Diagram
Internal Address Bus Internal Data Bus Internal Control Bus
Mode Setup Pins
Mode Control Control
ROM Controller / Interleave Control Address Data Flash Memory
Row Decoder
Control Logic (Including Automatic Sequence Control Logic) RDY/BSY Output Command Register
Address Latch
Data Latch
Column Decoder / Sense Amp
Flash Memory Array 1024 KB
Erase Block Decoder
Figure 3.1 Flash Memory Block Diagram
TMP1962F-16
TMP1962F10AXBG
3.3
Operating Modes
Overview
3.3.1
The TMP1962F10AXBG offers a total of five operating modes, including the one in which the flash memory is unused. Table 3.1 Operating Modes Operating Mode
Single-Chip Mode
Description
After a reset, the TX19 core processor executes out of the on-chip flash memory. Set the INTLV pin to High level when RESET is released. Single-Chip mode is further divided into Normal mode in which the user application executes and User Boot mode which allows for re-programming of the flash memory while the TMP1962F10AXBG is installed on a printed circuit board. The user can freely define how to switch between Normal mode and User Boot mode. For example, the logic state on, say, Port 00, can be used to determine whether to put the flash memory in Normal mode or User Boot mode. The user must include a routine in the application program to test the state of that port. After a reset, the TX19 core processor executes out of the on-chip boot ROM (which is a mask ROM). The boot ROM contains a routine to aid users in performing on-board programming of the flash memory via a serial port of the TMP1962F10AXBG. The serial port is connected to an external host which transfers new data according to a prescribed protocol. This mode allows re-programming of the flash memory with a general-purpose EPROM programmer. Use the programmer and programming adaptor recommended by Toshiba.
Normal Mode
User Boot Mode Single Boot Mode
Programmer Mode
The on-chip flash memory can be re-programmed in one of the following three modes: User Boot mode, Single Boot mode and Programmer mode. Of these modes, User Boot mode and Single Boot mode are collectively referred to as on-board programming modes. The logic states on the BW0, BW1, BOOT and INTLV pins during a reset sequence determine the mode of operation for the flash memory, as shown in Table 3.2. After RESET is released, PJ2 ( BOOT ) and PA2 (INTLV) can be configured as general-purpose I/O pins. After a reset, the CPU operates in compliance with the selected mode, except for Programmer mode. When Programmer mode is selected, RESET must be held at logic 0. The input pins listed in Table 3.2 must remain stable once the flash memory is put in a given mode of operation. Table 3.2 Modes of Operation #
(1) (2) (3)
Operating Mode
RESET
Single-Chip Mode Single Boot Mode Programmer Mode 01 01 0
Input Pins BW0
1 1 0
BW1
1 1 1
RESET
1 0 Note 1
INTLV
1 Note 1 Note 1
Note 1: Don't care. The pins must be held at 1 or 0, however.
TMP1962F-17
TMP1962F10AXBG
(3)
Programmer Mode
Reset
Any condition other than (4) + RESET = 0 (1) RESET = 0 RESET = 0 (2)
Single-Chip Mode Single Boot Mode
Normal Mode
User Boot Mode
User-defined condition
On-Board Programming Mode
Parenthesized numbers indicate that the relevant pins are at the logic states shown in Table 3.2.
Figure 3.2 Mode Transitions
3.3.2
Reset Operation
To reset the TMP1962F10AXBG, RESET must be asserted for at least 12 system clock periods after the power supply voltage and the internal high-frequency oscillator have stabilized. This time is typically 2.37 s at 40.5 MHz when the on-chip PLL is utilized.
TMP1962F-18
TMP1962F10AXBG
3.3.3
Memory Maps
The memory map for the TMP1962F10AXBG varies according to the operation mode selected for the on-chip flash memory. Following are the memory maps in each operation mode.
Normal Mode
On-Chip Peripherals (Reserved) On-Chip RAM (40 KB) (Reserved) Used for debugging (Reserved) 0xFF20_0000 (Reserved) 0xFF00_0000 0xC000_0000 0xBF00_0000 0x400F_FFFF On-Chip ROM Shadow 0x4000_0000 Inaccessible (512 MB) 0x2000_0000 0xFFFD_FFFF 0xFFFD_6000 0xFF3F_FFFF 0xFFFF_FFFF 0xFFFF_E000
Single Boot Mode
On-Chip Peripherals (Reserved) On-Chip RAM (40 KB) (Reserved) Used for debugging (Reserved) 0xFF20_0000 (Reserved) 0xFF00_0000 0xC000_0000 0xBF00_0000 0x400F_FFFF On-Chip Flash 0x4000_0000 Inaccessible (512 MB) 0x2000_0000 0xFFFD_DFFF 0xFFFD_6000 0xFF3F_FFFF 0xFFFF_FFFF 0xFFFF_E000
Programmer Mode
Inaccessible 0xFFFF_FFFF
0xC000_0000 Inaccessible
(Reserved)
(Reserved)
0x4000_0000 Inaccessible (512 MB) Inaccessible 0x2000_0000
0x1FCF_FFFF User Program Area 0x1FC0_0400 Maskable Interrupt Area Boot ROM (8 KB) 0x1FC0_0000 0x0000_0000 Note: The addresses shown above are physical addresses. 0x1FC0_1FFF 0x000F_FFFF 0x1FC0_0000 0x0000_0000 On-Chip Flash 0x0000_0000
Exception Vector Area
Figure 3.3 TMP1962F10AXBG Memory Maps
128 KB 128 KB 128 KB 128 KB 128 KB 128 KB 128 KB 128 KB 1024 KB
Block-0 Block-1 Block-2 Block-3 Block-4 Block-5 Block-6 Block-7
Figure 3.4 Flash Memory Block Architecture
TMP1962F-19
TMP1962F10AXBG
Table 3.3 Block Addresses User Boot Mode
Block-0 Block-1 Block-2 Block-3 Block-4 Block-5 Block-6 Block-7 0x1FC0_0000 - 0x1FC1_FFFF (or 0x4000_0000 - 0x4001_FFFF) 0x1FC2_0000 - 0x1FC3_FFFF (or 0x4002_0000 - 0x4003_FFFF) 0x1FC4_0000 - 0x1FC5_FFFF (or 0x40040000 - 0x4005_FFFF) 0x1FC6_0000 - 0x1FC7_FFFF (or 0x4006_0000 - 0x4007_FFFF) 0x1FC8_0000 - 0x1FC9_FFFF (or 0x4008_0000 - 0x4009_FFFF) 0x1FCA_0000 - 0x1FCB_FFFF (or 0x400A_0000 - 0x400B_FFFF) 0x1FCC_0000 - 0x1FCD_FFFF (or 0x400C_0000 - 0x400D_FFFF) 0x1FCE_0000 - 0x1FCF_FFFF (or 0x400E_0000 - 0x400F_FFFF)
Boot Mode
0x1FC0_0000 - 0x1FC1_FFFF 0x1FC2_0000 - 0x1FC3_FFFF 0x1FC4_0000 - 0x1FC5_FFFF 0x1FC6_0000 - 0x1FC7_FFFF 0x1FC8_0000 - 0x1FC9_FFFF 0x1FCA_0000 - 0x1FCB_FFFF
Programmer Mode
0x0000_0000 - 0x0001_FFFF 0x0000_8000 - 0x0003_FFFF 0x0001_0000 - 0x0005_FFFF 0x0001_8000 - 0x0007_FFFF 0x0002_0000 - 0x0009_FFFF 0x0002_8000 - 0x000A_FFFF 0x0003_0000 - 0x000B_FFFF 0x0003_8000 - 0x000C_FFFF
0x1FCC_0000 - 0x1FCD_FFFF 0x1FCE_0000 - 0x1FCF_FFFF
3.3.4
Interleave Mode
If J3 (PJ3) is sampled high at the rising edge of RESET , the flash memory enters Interleave mode. The flash memory must be configured into Interleave mode.
3.3.5
Block Protection
The TMP1962F10AXBG flash memory is organized into a total of 8 blocks (128 kbytex 8). To protect stored data from any program and erase operations, each block has a protect bit, which can be set by executing the Block Protect command sequence. Blocks in protection mode are protected from even the Chip Erase and Multi-Block Erase commands; these commands erase only unprotected blocks. Since protection status is stored in flash memory cells, it is retained if the chip is powered off. When all blocks are protected, the data stored in these blocks are protected from being read in Programmer mode, which provides a security feature.
TMP1962F-20
TMP1962F10AXBG
3.3.6
DSU-probe Interface
The DSU-probe interface is used for software debugging using an external DSU-probe unit. This serves as an interface to the DSU-probe, and can not be used as general-purpose port. Consult the DSU-probe operation manual for a description of debugging using theDSU-probe. When the TMP1962F10AXBG is in DSU mode, the on-chip flash memory provides a security feature. (1) Flash security feature The TMP1962F10AXBG supports on-board debugging while it is installed on a printed circuit board. The TMP1962F10AXBG provides a security feature to prevent intrusive access to the flash memory. When the flash memory is in the secure state, a DSU-probe is denied access to the entirety of the flash memory. (2) Securing the flash (Disabling debugging with a DSU-probe) Once program debug is completed, write the Protect command to all of 8 blocks. This turns on the flash security feature. While the flash memory is in the secure state, a DSU-probe can not read its contents. When the chip is powered off and powered on again, the flash memory is secured, which disables debugging using a DSU-probe until the flash memory is unsecured. (3) Unsecuring the flash (Enabling debugging with a DSU-probe) The flash memory may only be unsecured by clearing the SEQON bit in the SEQMOD register and then writing a special code (0x0000_00C5) to the Security Control (SEQCNT) register. This prevents runaway software from inadvertently turning off the security feature. Unsecuring the flash memory enables the DSU interface. The flash memory can be secured again by setting the SEQON bit in the SEQMOD and writing 0x0000_00C5 to the SEQCNT while the chip is powered. 7 6

5

4

3

2

1

0
SEQON R/W 1 1: Security on 0: Security off
SEQMOD (0xFFFF_E510)
Name Read/Write Reset Value Function

Note: This register must be read as a 32-bit quantity. Bits 1 to 31 are read as 0s.
TMP1962F-21
TMP1962F10AXBG
7
SEQCNT (0xFFFF_E514) Name Read/Write Reset Value Function
6
5
4
W
3
2
1
0
Must be written as 0x0000_00C5.
15
Name Read/Write Reset Value Function
14
13
12
W
11
10
9
8
Must be written as 0x0000_00C5.
23
Name Read/Write Reset Value Function
22
21
20
W
19
18
17
16
Must be written as 0x0000_00C5.
31
Name Read/Write Reset Value Function
30
29
28
W
27
26
25
24
Must be written as 0x0000_00C5.
Note 1: This register is read as a 32-bit quantity. Note 2: The security feature of the TMP1962F10AXBG flash memory is not intended to guarantee rigid security protection. In cases where security protection is of utmost importance, use the TMP1962C10BXBG that contains mask ROM.
(4) Application example The following flowchart exemplifies how to use the security feature with a DSU-ICE.
TMP1962F10AXBG
Security on at power-up
External port data, etc.
Protect/unprotect judgment routine (user-created)
No
Turn off security feature? Yes Program SEQMOD and SEQCNT to turn off security feature
DSU-ICE can not be used.
Security remains on. DSU-ICE can be used until the chip is powered off.
Figure 3.5 Using the Security Feature
TMP1962F-22
TMP1962F10AXBG
3.4
On-Board Programming Mode
On-board programming modes allo w for re-programming of the flash memory while the TMP1962F10AXBG is soldered on a printed circuit board. In Single Boot mode, new data comes from a serial port under control of a Toshiba-provided routine in the boot ROM. User Boot mode allows you to create an algorithm of your own for flash memory erase and program operations. The TMP1962F10AXBG flash memory provides a security feature to prevent intrusive access to the flash memory while in Programmer mode. This security feature can be enabled upon completion of on-board programming to reduce the potential risk of software leaks to third parties.
3.4.1
User Boot Mode (Single-Chip Mode)
User Boot mode allows you to create a programming algorithm of your own. This mode supports situations where the flash memory is to be re-programmed via a bus other than serial I/O. User Boot mode is one of the two submodes in Single-Chip mode; the other submode is Normal mode in which the CPU executes the user application. To re-program the flash memory, the mode of operation must be switched from Normal mode to User Boot mode. The user application code must include a mode judgment routine as part of the reset procedure. The user must define the conditions for mode switching, based on the logic states on I/O ports of the TMP1962F10AXBG. Additionally, the user must incorporate a programming algorithm into the user application code that is to be executed after User Boot mode is entered. It is not possible to read from the flash memory while it is being erased or programmed; therefore, the programming algorithm must be placed and executed outside of the flash memory. Once re-programming is complete, it is recommended to protect relevant flash blocks from accidental corruption. All interrupts including the nonmaskable (NMI) interrupt must be globally disabled while the flash memory is being erased or programmed. The pages that follow describe the general procedures for two cases where the programming routine is: a) stored within the TMP1962F10AXBG flash memory, and b) loaded from an external controller. For a detailed description of the erase and program sequence, refer to Section 3.6, On-Board Programming and Erasure.
TMP1962F-23
TMP1962F10AXBG
User Boot Mode (1-A) Method 1: Storing a Programming Routine in the Flash Memory (1) Determine the conditions (e.g., pin states) required for the flash memory to enter User Boot mode and the I/O bus to be used to transfer new program code. Create hardware and software accordingly. Before installing the TMP1962F10AXBG on a printed circuit board, write the following program routines into an arbitrary flash block using programming equipment. * * * Mode judgment routine: Code to determine whether or not to switch to User Boot mode Programming routine: Copy routine: Code to download new program code from a host controller and re-program the flash memory Code to copy the flash programming routine from the TMP1962F10AXBG flash memory to either the TMP1962F10AXBG on-chip RAM or external memory device.
Host Controller
New Application Program Code
TMP1962F10AXBG
Flash Memory Old Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Programming Routine (c) Copy Routine
I/O
RAM
(2) After RESET is released, the reset procedure determines whether to put the TMP1962F10AXBG flash memory in User Boot mode. If mode switching conditions are met, the flash memory enters User Boot mode. (All interrupts including NMI must be globally disabled while in User Boot mode.)
Host Controller
New Application Program Code
TMP1962F10AXBG
Flash Memory Old Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Programming Routine (c) Copy Routine
I/O 0 1 RESET
RAM
Conditions for entering User Boot mode (defined by the user)
TMP1962F-24
TMP1962F10AXBG
(3) Once User Boot mode is entered, execute the copy routine to copy the flash programming routine to either the TMP1962F10AXBG on-chip RAM or an external memory device. (In the following figure, the on-chip RAM is used.)
Host Controller
New Application Program Code
TMP1962F10AXBG
Flash Memory Old Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Programming Routine (c) Copy Routine
I/O
(b) Programming Routine
RAM
(4) Jump program execution to the flash programming routine in the on-chip RAM to erase a flash block containing the old application program code.
Host Controller
New Application Program Code
TMP1962F10AXBG
Flash Memory
Erased
I/O
[Reset Procedure] (a) Mode Judgment Routine (b) Programming Routine (c) Copy Routine
(b) Programming Routine
RAM
TMP1962F-25
TMP1962F10AXBG
(5) Continue executing the flash programming routine to download new program code from the host controller and program it into the erased flash block. Once programming is complete, turn on the protection of that flash block.
Host Controller
New Application Program Code
TMP1962F10AXBG
Flash Memory New Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Programming Routine (c) Copy Routine
I/O
(b) Programming Routine
RAM
(6) Drive RESET low to reset the TMP1962F10AXBG. Upon reset, the on-chip flash memory is put in Normal mode. After RESET is released, the CPU will start executing the new application program code.
Host Controller
TMP1962F10AXBG
Flash Memory New Application Program Code e [Reset Procedure] (a) Mode Judgment Routine (b) Programming Routine (c) Copy Routine
(I/O) 0 1 RESET
Set to Normal mode RAM
TMP1962F-26
TMP1962F10AXBG
(1-B) Method 2: Transferring a Programming Routine from an External Host (1) Determine the conditions (e.g., pin states) required for the flash memory to enter User Boot mode and the I/O bus to be used to transfer new program code. Create hardware and software accordingly. Before installing the TMP1962F10AXBG on a printed circuit board, write the following program routines into an arbitrary flash block using programming equipment. * * Mode judgment routine: Code to determine whether or not to switch to User Boot mode Transfer routine: Code to download new program code from a host controller
Also, prepare a programming routine on the host controller: * Programming routine: Code to download new program code from an external host controller and re-program the flash memory
Host Controller I/O
New Application Program Code (c) Programming Routine
TMP1962F10AXBG
Flash Memory Old Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Transfer Routine RAM
(2) After RESET is released, the reset procedure determines whether to put the TMP1962F10AXBG flash memory in User Boot mode. If mode switching conditions are met, the flash memory enters User Boot mode. (All interrupts including NMI must be globally disabled while in User Boot mode.)
Host Controller I/O
New Application Program Code (c) Programming Routine 0 1 RESET
TMP1962F10AXBG
Flash Memory Old Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Transfer Routine RAM Conditions for entering User Boot mode (defined by the user)
TMP1962F-27
TMP1962F10AXBG
(3) Once User Boot mode is entered, execute the transfer routine to download the flash programming routine from the host controller to either the TMP1962F10AXBG on-chip RAM or an external memory device. (In the following figure, the on-chip RAM is used.)
Host Controller I/O
New Application Program Code (c) Programming Routine
TMP1962F10AXBG
Flash Memory Old Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Transfer Routine RAM
(c) Programming routine
(4) Jump program execution to the flash programming routine in the on-chip RAM to erase a flash block containing the old application program code.
Host Controller I/O
New Application Program Code (c) Programming Routine
TMP1962F10AXBG
Flash Memory
Erased
(c) Programming Routine
[Reset Procedure] (a) Mode Judgment Routine (b) Transfer Routine RAM
TMP1962F-28
TMP1962F10AXBG
(5) Continue executing the flash programming routine to download new program code from the host controller and program it into the erased flash block. Once programming is complete, turn on the protection of that flash block.
Host Controller I/O
New Application Program Code (c) Programming Routine
TMP1962F10AXBG
Flash Memory New Application Program Code [Reset Procedure] (a) Mode Judgment Routine (b) Transfer Routine RAM
(c) Programming Routine
(6) Drive RESET low to reset the TMP1962F10AXBG. Upon reset, the on-chip flash memory is put in Normal mode. After RESET is released, the CPU will start executing the new application program code.
Host Controller I/O
TMP1962F10AXBG
Flash Memory New Application Program Code Set to Normal mode [Reset Procedure] (a) Mode Judgment Routine (b) Transfer Routine RAM 0 1 RESET
TMP1962F-29
TMP1962F10AXBG
3.5
Single Boot Mode
In Single Boot mode, the flash memory can be re-programmed by using a program contained in the TMP1962F10AXBG on-chip boot ROM. This boot ROM is a masked ROM. When Single Boot mode is selected upon reset, the boot ROM is mapped to the address region including the interrupt vector table while the flash memory is mapped to an address region different from it (see Figure 3.3 on page 19). Single Boot mode allows for serial programming of the flash memory. Channel 0 of the SIO (SIO0) of the TMP1962F10AXBG is connected to an external host controller. Via this serial link, a programming routine is downloaded from the host controller to the TMP1962F10AXBG on-chip RAM. Then, the flash memory is re-programmed by executing the programming routine. The host sends out both commands and programming data to re-program the flash memory. Communications between the SIO0 and the host must follow the protocol described later. To secure the contents of the flash memory, the validity of the application's password is checked before a programming routine is downloaded into the on-chip RAM. If password matching fails, the transfer of a programming routine itself is aborted. As in the case of User Boot mode, all interrupts including the nonmaskable (NMI) interrupt must be globally disabled in Single Boot mode while the flash memory is being erased or programmed. In Single Boot mode, the boot-ROM programs are executed in Normal mode. Once re-programming is complete, it is recommended to protect relevant flash blocks from accidental corruption during subsequent Single-Chip (Normal mode) operations. For a detailed description of the erase and program sequence, refer to 3.4 On-Board Programming and Erasure.
TMP1962F-30
TMP1962F10AXBG
Boot Mode (2-A) General Procedure: Using the Program in the On-Chip Boot ROM (1) The flash block containing the older version of the program code need not be erased before executing the programming routine. Since a programming routine and programming data are transferred via the SIO0, the SIO0 must be connected to a host controller. Prepare a programming routine on the host controller.
Host Controller I/O
New Application Program Code (a) Programming Routine
TMP1962F10AXBG
Boot ROM Flash Memory SIO0
Old Application Program Code (or Erased State) RAM
(2) Reset the TMP1962F10AXBG with the mode setting pins held at appropriate logic values, so that the CPU re-boots from the on-chip boot ROM. The 12-byte password transferred from the host controller is first compared to the contents of special flash memory locations. (If the flash block has already been erased, the password is 0xFFFF.)
Host Controller I/O
New Application Program Code (a) Programming Routine 0 1 RESET
TMP1962F10AXBG
Boot ROM Flash Memory SIO0
Old Application Program Code (or Erased State) RAM
Conditions for entering Single Boot mode
TMP1962F-31
TMP1962F10AXBG
(3) If the password was correct, the boot program downloads, via the SIO0, the programming routine from the host controller into the on-chip RAM of the TMP1962F10AXBG. The programming routine must be stored in the address range 0xFFFD_6000 - 0xFFFD_EFFF.
Host Controller I/O
New Application Program Code (a) Programming routine
TMP1962F10AXBG
Boot ROM Flash Memory SIO0
(a) Programming Routine Old Application Program Code (or Erased State) RAM
(4) The CPU jumps to the programming routine in the on-chip RAM to erase the flash block containing the old application program code. The Block Erase or Chip Erase command may be used.
Host Controller I/O
New Application Program Code (a) Programming routine
TMP1962F10AXBG
Boot ROM Flash Memory SIO0
(a) Programming Routine
Erased
RAM
TMP1962F-32
TMP1962F10AXBG
(5) Next, the programming routine downloads new application program code from the host controller and programs it into the erased flash block. Once programming is complete, protection of that flash block is turned on. It is not allowed to move program control from the programming routine back to the boot ROM. In the example below, new program code comes from the same host controller via the same SIO channel as for the programming routine. However, once the programming routine has begun to execute, it is free to change the transfer path and the source of the transfer. Create board hardware and a programming routine to suit your particular needs.
Host Controller I/O
New Application Program Code (a) Programming Routine
TMP1962F10AXBG
Boot ROM Flash Memory SIO0
(a) Programming Routine New Application Program Code RAM
(6) When programming of the flash memory is complete, power off the board and disconnect the cable leading from the host to the target board. Turn on the power again so that the TMP1962F10AXBG re-boots in Single-Chip (Normal) mode to execute the new program.
Host Controller
TMP1962F10AXBG
0 1 RESET Boot ROM Flash Memory Set to Single-Chip (Normal) mode RAM SIO0
New Application Program Code
TMP1962F-33
TMP1962F10AXBG
3.5.1
Host-to-Target Connection Examples
In Single Boot mode, serial transfer is used to re-program the flash memory while the TMP1962F10AXBG is installed on the board. In this mode, channel 0 of the SIO (SIO0) of the TMP1962F10AXBG is connected to a host controller, which is to issue commands to the target board. Figure 3.6 and Figure 3.7 show examples of host-to-target connections.
Host Controller Target Board VCC Reg. VCC VCC Reg. TMP1962 MCU Mode Control DVCC BW1 BW0 NMI RESET Boot Mode Selection Logic
100 V a.c.
RESET
TMODE Mode Control ROM RAM
BOOT
RX
RXD0 (PC1)
RS232C
TX
TXD0 (PC0)
VSS
DVSS
PC
Figure 3.6 Example of a Connection Between a Host Controller and a Target Board (When the SIO0 is Configured for UART Mode)
TMP1962F-34
TMP1962F10AXBG
Host Controller 100 V a.c. VCC Reg. VCC VCC Reg.
Target Board
TMP1962 MCU Mode Control DVCC BW1 BW0 NMI RESET
RESET
Mode Control
TMODE
Boot Mode Selection Logic
BOOT
ROM
RAM TCK RX
SCLK0 (PC2) RXD0 (PC1)
RS232C
TX TBUSY VSS
TXD0 (PC0) PI7 DVSS
PC
Figure 3.7 Example of a Connection Between a Host Controller and a Target Board (When the SIO0 is Configured for I/O Interface Mode)
TMP1962F-35
TMP1962F10AXBG
3.5.2
Configuring for Single Boot Mode
For on-board programming, boot the TMP1962F10AXBG in Single Boot mode, as follows: BW0 BW1 =1 =1
BOOT = 0 RESET = 0 1
Set the RESET input at logic 0, and the BW0, BW1 and BOOT (PJ2) inputs at the logic values shown above, and then release RESET (high).
3.5.3
Memory Map
Figure 3.8 shows a comparison of the memory maps in Normal and Single Boot modes. In single Boot mode, the on-chip flash memory is mapped to physical addresses (0x4000_0000 through 0x400F_FFFF), virtual addresses (0x0000_0000 through 0x000F_FFFF), and the on-chip boot ROM is mapped to physical addresses 0x1FC0_0000 through 0x1FC0_1FFF. Normal Mode
On-Chip Peripherals (Reserved)
On-Chip RAM (40 KB)
Single Boot Mode
0xFFFF_FFFF 0xFFFF_E000 (Reserved) 0xFFFD_DFFF 0xFFFD_6000 0xFF3F_FFFF 0xFF20_0000
On-Chip RAM (40 KB)
On-Chip Peripherals
0xFFFF_FFFF 0xFFFF_E000 0xFFFD_DFFF 0xFFFD_6000 0xFF3F_FFFF 0xFF20_0000
(Reserved) Used for debugging (Reserved) (Reserved)
(Reserved) Used for debugging (Reserved) (Reserved)
0xFF00_0000 0xC000_0000 0xBF00_0000 0x400F_FFFF
0xFF00_0000 0xC000_0000 0xBF00_0000 0x400F_FFFF
(Reserved)
(Reserved)
On-Chip ROM Shadow Inaccessible (512 MB)
On-Chip Flash ROM 0x4000_0000 Inaccessible (512 MB) 0x2000_0000 0x2000_0000 0x4000_0000
0x1FCF_FFFF User Program Area Internal ROM Maskable Interrupt Area Exception Vector Area 0x1FC0_0000 0x0000_0000 0x1FC0_0400 0x1FC0_1FFF Boot ROM (6 KB) 0x1FC0_0000 0x0000_0000
Figure 3.8 Memory Maps for Normal and Single Boot Modes (Physical Addresses)
TMP1962F-36
TMP1962F10AXBG
3.5.4
Interface Specification
In Single Boot mode, an SIO channel is used for communications with a programming controller. Both UART (asynchronous) and I/O Interface (synchronous) modes are supported. The communication formats are shown below. In the subsections that follow, virtual addresses are indicated, unless otherwise noted. * UART mode Communication channel: Transfer mode: Data length: Parity bits: STOP bits: Baud rate: * I/O Interface mode Communication channel: SIO Channel 0 (SIO0) Transfer mode: I/O Interface mode, half-duplex Synchronization clock (SCLK0): Input Handshaking signal: PI7 configured as an output Baud rate: Arbitrary baud rate Table 3.4 Required Pin Connections Pin
Power Supply Pins DVCC2 (2.5 V) DVSS Mode-Setting Pin Reset Pin Communication Pins
BOOT RESET
SIO Channel 0 (SIO0) UART (asynchronous) mode, full-duplex 8 bits None 1 Arbitrary baud rate
Interface UART Mode
Required Required Required Required Required Required Not Required Not Required
I/O Interface Mode
Required Required Required Required Required Required Required (Input Mode) Required (Input Mode)
TXD0 RXD0 SCLK0 P87
3.5.5
Data Transfer Format
The host controller is to issue one of the commands listed in Table 3.5 to the target board. Table 3.6 to Table 3.8 illustrate the sequence of two-way communications that should occur in response to each command. Table 3.5 Single Boot Mode Commands Code
10H 20H 30H RAM Transfer Show Flash Memory Sum Show Product Information
Command
TMP1962F-37
TMP1962F10AXBG
Table 3.6 Transfer Format for the RAM Transfer Command
Byte
Boot ROM 1st byte
Data Transferred from the Controller to the TMP1962F10AXBG
Serial operation mode and baud rate For UART mode 86H For I/O Interface mode 30H
Baud Rate
Desired baud rate (Note 1)
Data Transferred from the TMP1962F10AXBG to the Controller
2nd byte
ACK for the serial operation mode byte For UART mode Normal acknowledge 86H (The boot program aborts if the baud rate is can not be set correctly.) For I/O Interface mode Normal acknowledge 30H
3rd byte 4th byte
Command code
(10H)
ACK for the command code byte (Note 2) Normal acknowledge 10H Negative acknowledge x1H Communication error x8H
5th byte thru 16th byte 17th byte 18th byte
Password sequence (12 bytes) (0x4000_03F4 thru 0x4000_03FF) Checksum value for bytes 5-16
ACK for the checksum byte (Note 2) Normal acknowledge 10H Negative acknowledge 11H Communication error 18H

19th byte 20th byte 21st byte 22nd byte 23rd byte 24th byte 25th byte 26th byte
RAM storage start address (bits 31-24) RAM storage start address (bits 23-16) RAM storage start address (bits 15-8) RAM storage start address (bits 7-0) RAM storage byte count (bits 15-8) RAM storage byte count (bits 7-0) Checksum value for bytes 19-24
ACK for the checksum byte (Note 2) Normal acknowledge 10H Negative acknowledge 11H Communication error 18H
27th byte thru mth byte (m + 1)th byte (m + 2)th byte
RAM storage data
Checksum value for bytes 27-m
ACK for the checksum byte (Note 2) Normal acknowledge 10H Non-acknowledge 11H Communications error 18H Jump to RAM storage start address
RAM
(m + 3)th byte
Note 1: In I/O Interface mode, the baud rate for the transfers of the first and second bytes must be 1/16 of the desired baud rate. Note 2: In case of any negative acknowledge, the boot program returns to a state in which it waits for a command code (3rd byte). In I/O Interface mode, if a communication error occurs, a negative acknowledge does not occur. Note 3: The 19th to 25th bytes must be within the RAM address range 0xFFFD_6000-0xFFFF_DFFF .
TMP1962F-38
TMP1962F10AXBG
Table 3.7 Transfer Format for the Show Flash Memory Sum Command
Byte
Boot ROM 1st byte
Data Transferred from the Controller to the TMP1962F10AXBG
Serial operation mode and baud rate For UART mode 86H For I/O Interface mode 30H
Baud Rate
Desired baud rate (Note 1)
Data Transferred from the TMP1962F10AXBG to the Controller
2nd byte
ACK for the serial operation mode byte For UART mode Normal acknowledge 86H (The boot program aborts if the baud rate can not be set correctly.) For I/O Interface mode Normal acknowledge 30H
3rd byte 4th byte
Command code
(20H)
ACK for the command code byte (Note 2) Normal acknowledge 20H Negative acknowledge x1H Communication error x8H SUM (upper byte) SUM (lower byte) Checksum value for bytes 5 and 6
5th byte 6th byte 7th byte 8th byte

(Wait for the next command code.)
Note 1: In I/O Interface mode, the baud rate for the transfers of the first and second bytes must be 1/16 of the desired baud rate. Note 2: In case of any negative acknowledge, the boot program returns to a state in which it waits for a command code (3rd byte). In I/O Interface mode, if a communication error occurs, a negative acknowledge does not occur.
TMP1962F-39
TMP1962F10AXBG
Table 3.8 Transfer Format for the Show Product Information Command (1/2)
Byte
Boot ROM 1st byte
Data Transferred from the Controller to the TMP1962F10AXBG
Serial operation mode and baud rate For UART mode 86H For I/O Interface mode 30H
Baud Rate
Desired baud rate (Note 1)
Data Transferred from the TMP1962F10AXBG to the Controller
2nd byte
3rd byte 4th byte
Command code
(30H)
ACK for the serial operation mode byte For UART mode Normal acknowledge 86H (The boot program aborts if the baud rate can not be set correctly.) For I/O Interface mode Normal acknowledge 30H ACK for the command code byte (Note 2) Normal acknowledge 10H Negative acknowledge x1H Communication error x8H Flash memory data (at address 0x4000_03F0H) Flash memory data (at address 0x4000_03F1H) Flash memory data (at address 0x4000_03F2H) Flash memory data (at address 0x4000_03F3H) Product name (12-byte ASCII code) "TX1962F10" from the 9th byte Password comparison start address (4 bytes) F4H, 03H, 00H and 00H from the 21st byte RAM start address (4 bytes) 00H, 60H, FDH and FFH from the 25th byte Dummy data (4 bytes) FFH, 6FH, FDH and FFH from the 29th byte RAM end address (4 bytes) FFH, DFH, FDH and FFH from the 33rd byte Dummy data (4 bytes) 00H, 70H, FDH and FFH from the 37th byte Dummy data (4 bytes) FFH, EFH, FDH and FFH from the 41st byte Fuse information (2 bytes) 01H and 00H from the 45th byte Flash memory start address (4 bytes) 00H, 00H, 00H and 00H from the 47th byte Flash memory end address (4 bytes) FFH, FFH, 0FH and 00H from the 51st byte Flash memory block count (2 bytes) 08H and 00H from at the 55th byte
5th byte 6th byte 7th byte 8th byte 9th byte thru 20th byte 21st byte thru 24th byte 25th byte thru 28th byte 29th byte thru 32nd byte 33rd byte thru 36th byte 37th byte thru 40th byte 41st byte thru 44th byte 45th byte thru 46th byte 47th byte thru 50th byte 51st byte thru 54th byte 55th byte thru 56th byte



TMP1962F-40
TMP1962F10AXBG
Table 3.8 Transfer Format for the Show Product Information Command (2/2)
Byte
57th byte thru 60th byte 61st byte thru 64th byte 65th byte 66th byte 67th byte
Data Transferred from the Controller Baud Rate to the TMP1962F10AXBG
Data Transferred from the TMP1962F10AXBG to the Controller
Start address of a group of the same-size flash blocks (4 bytes) 00H, 00H, 00H and 00H from the 57th byte Size (in halfwords) of the same-size flash blocks (4 bytes) 00H, 00H, 01H and 00H from the 61st byte Number of flash blocks of the same size (1 byte) 08H Checksum value for bytes 5 to 65
Boot ROM
(Wait for the next command code.)
Note 1: In I/O Interface mode, the baud rate for the transfers of the first and second bytes must be 1/16 of the desired baud rate. Note 2: In case of any negative acknowledge, the boot program returns to a state in which it waits for a command code (3rd byte). In I/O Interface mode, if a communication error occurs, a negative acknowledge does not occur.
3.5.6
Overview of the Boot Program Commands
When Single Boot mode is selected, the boot program is automatically executed on startup. The boot program offers these three commands, the details of which are provided on the following subsections. * RAM Transfer command The RAM Transfer command stores program code transferred from a host controller to the on-chip RAM and executes the program once the transfer is successfully completed. The maximum program size is 36 kbytes. The RAM storage start address must be within the range. The RAM Transfer command can be used to download a flash programming routine of your own; this provides the ability to control on-board programming of the flash memory in a unique manner. The programming routine must utilize the flash memory command sequences described in Section 3.6.17 Before initiating a transfer, the RAM Transfer command checks a password sequence coming from the controller against that stored in the flash memory. If they do not match, the RAM Transfer command aborts. Once the RAM Transfer command is complete, the whole on-chip RAM is accessible. * Show Flash Memory Sum command The Show Flash Memory Sum command adds the contents of the 1024 kbytes of the flash memory together. The boot program does not provide a command to read out the contents of the flash memory. Instead, the Flash Memory Sum command can be used for software revision management. * Show Product Information command The Show Product Information command provides the product name, on-chip memory configuration and the like. This command also reads out the contents of the flash memory locations at addresses 0x0000_03F0 through 0x0000_03F3. In addition to the Show Flash Memory Sum command, these locations can be used for software revision management.
TMP1962F-41
TMP1962F10AXBG
3.5.7
RAM Transfer Command
See Table 3.6. (1) The 1st byte specifies which one of the two serial operation modes is used. For a detailed description of how the serial operation mode is determined, see Section 3.5.11. If it is determined as UART mode, the boot program then checks if the SIO0 is programmable to the baud rate at which the 1st byte was transferred. During the first-byte interval, the RXE bit in the SC0MOD register is cleared. * To communicate in UART mode Send, from the controller to the target board, 86H in UART data format at the desired baud rate. If the serial operation mode is determined as UART, then the boot program checks if the SIO0 can be programmed to the baud rate at which the first byte was transferred. If that baud rate is not possible, the boot program aborts, disabling any subsequent communications. * To communicate in I/O Interface mode Send, from the controller to the target board, 30H in I/O Interface data format at 1/16 of the desired baud rate. Also send the 2nd byte at the same baud rate. Then send all subsequent bytes at a rate equal to the desired baud rate. In I/O Interface mode, the CPU sees the serial receive pin as if it were a general input port in monitoring its logic transitions. If the baud rate of the incoming data is high or the chip's operating frequency ishigh, the CPU may not be able to keep up with the speed of logic transitions. To prevent such situations, the 1st and 2nd bytes must be transferred at 1/16 of the desired baud rate; then the boot program calculates 16 times that as the desired baud rate. When the serial operation mode is determined as I/O Interface mode, the SIO0 is configured for SCLK Input mode. Beginning with the third byte, the controller must ensure that its AC timing restrictions are satisfied at the selected baud rate. In the case of I/O Interface mode, the boot program does not check the receive error flag; thus there is no such thing as error acknowledge (x8H). (2) The 2nd byte, transmitted from the target board to the controller, is an acknowledge response to the 1st byte. The boot program echoes back the first byte: 86H for UART mode and 30H for I/O Interface mode. * UART mode If the SIO0 can be programmed to the baud rate at which the 1st byte was transferred, the boot program programs the BR0CR and sends back 86H to the controller as an acknowledge. If the SIO0 is not programmable at that baud rate, the boot program simply aborts with no error indication. Following the 1st byte, the controller should allow for a time-out period of five seconds. If it does not receive 86H within the alloted time-out period, the controller should give up the communication. The boot program sets the RXE bit in the SC0MOD register to enable reception before loading the SIO transmit buffer with 86H.
TMP1962F-42
TMP1962F10AXBG
* I/O Interface mode The boot program programs the SC0MOD0 and SC0CR registers to configure the SIO0 in I/O Interface mode (clocked by the rising edge of SCLK0), writes 30H to the SC0BUF. Then, the SIO0 waits for the SCLK0 signal to come from the controller. Following the transmission of the 1st byte, the controller should send the SCLK clock to the target board after a certain idle time (several microseconds). This must be done at 1/16 the desire baud rate. If the 2nd byte, which is from the target board to the controller, is 30H, then the controller should take it as a go-ahead. The controller must then delivers the 3rd byte to the target board at a rate equal to the desired baud rate. The boot program sets the RXE bit in the SC0MOD register to enable reception before loading the SIO transmit buffer with 30H. (3) The 3rd byte, which the target board receives from the controller, is a command. The code for the RAM Transfer command is 10H. (4) The 4th byte, transmitted from the target board to the controller, is an acknowledge response to the 3rd byte. Before sending back the acknowledge response, the boot program checks for a receive error. If there was a receive error, the boot program transmits x8H and returns to the state in which it waits for a command again. In this case, the upper four bits of the acknowledge response are undefined -- they hold the same values as the upper four bits of the previously issued command. When the SIO0 is configured for I/O Interface mode, the boot program does not check for a receive error. If the 3rd byte is equal to any of the command codes listed in Table 3.5, the boot program echoes it back to the controller. When the RAM Transfer command was received, the boot program echoes back a value of 10H and then branches to the RAM Transfer routine. Once this branch is taken, a password check is done. Password checking is detailed in Section 3.5.12. If the 3rd byte is not a valid command, the boot program sends back x1H to the controller and returns to the state in which it waits for a command again. In this case, the upper four bits of the acknowledge response are undefined -- they hold the same values as the upper four bits of the previously issued command. (5) The 5th to 16th bytes, which the target board receives from the controller, are a 12-byte password. The 5th byte is compared to the contents of address 0x0000_03F4 in the flash memory; the 6th byte is compared to the contents of address 0x0000_03F5 in the flash memory; likewise, the 16th byte is compared to the contents of address 0x0000_03FF in the flash memory. If the password checking fails, the RAM Transfer routine sets the password error flag. (6) The 17th byte is a checksum value for the password sequence (5th to 16th bytes). To calculate the checksum value for the 12-byte password, add the 12 bytes together, drop the carries and take the two's complement of the total sum. Transmit this checksum value from the controller to the target board. The checksum calculation is described in details in Section 3.5.14.
TMP1962F-43
TMP1962F10AXBG
(7) The 18th byte, transmitted from the target board to the controller, is an acknowledge response to the 5th to 17th bytes. First, the RAM Transfer routine checks for a receive error in the 5th to 17th bytes. If there was a receive error, the boot program sends back 18H and returns to the state in which it waits for a command (i.e., the 3rd byte) again. In this case, the upper four bits of the acknowledge response are the same as those of the previously issued command (i.e., all 1s). When the SIO0 is configured for I/O Interface mode, the RAM Transfer routine does not check for a receive error. Next, the RAM Transfer routine performs the checksum operation to ensure data integrity. Adding the series of the 5th to 17th bytes must result in zero (with the carry dropped). If it is not zero, one or more bytes of data has been corrupted. In case of a checksum error, the RAM Transfer routine sends back 11H to the controller and returns to the state in which it waits for a command (i.e., the 3rd byte) again. Finally, the RAM Transfer routine examines the result of the password check. The following two cases are treated as a password error. In these cases, the RAM Transfer routine sends back 11H to the controller and returns to the state in which it waits for a command (i.e., the 3rd byte) again. * * Irrespective of the result of the password comparison, all of the 12 bytes of a password in the flash memory are the same value other than FFH. Not all of the password bytes transmitted from the controller matched those contained in the flash memory.
When all the above checks have been successful, the RAM Transfer routine returns a normal acknowledge response (10H) to the controller. (8) The 19th to 22nd bytes, which the target board receives from the controller, indicate the start address of the RAM region where subsequent data (e.g., a flash programming routine) should be stored. The 19th byte corresponds to bits 31-24 of the address, and the 22nd byte corresponds to bits 7-0 of the address. (9) The 23rd and 24th bytes, which the target board receives from the controller, indicate the number of bytes that will be transferred from the controller to be stored in the RAM. The 23rd byte corresponds to bits 15-8 of the number of bytes to be transferred, and the 24th byte corresponds to bits 7-0 of the number of bytes. (10) The 25th byte is a checksum value for the 19th to 24th bytes. To calculate the checksum value, add all these bytes together, drop the carries and take the two's complement of the total sum. Transmit this checksum value from the controller to the target board. The checksum calculation is described in details in Section 3.5.14. (11) The 26th byte, transmitted from the target board to the controller, is an acknowledge response to the 19th to 25th bytes of data. First, the RAM Transfer routine checks for a receive error in the 19th to 25th bytes. If there was a receive error, the RAM Transfer routine sends back 18H and returns to the state in which it waits for a command (i.e., the 3rd byte) again. In this case, the upper four bits of the acknowledge response are the same as those of the previously issued command (i.e., all 1s). When the SIO0 is configured for I/O Interface mode, the RAM Transfer routine does not check for a receive error. Next, the RAM Transfer routine performs the checksum operation to ensure data integrity. Adding the series of the 19th to 25th bytes must result in zero (with the carry dropped). If it is not zero, one or more bytes of data has been corrupted. In case of a checksum error, the RAM Transfer routine sends back 11H to the controller and returns to the state in which it waits for a command (i.e., the 3rd byte) again.
TMP1962F-44
TMP1962F10AXBG
*
The RAM storage start address must be within the range 0xFFFD_6000-0xFFFD_EFFF. When the above checks have been successful, the RAM Transfer routine returns a normal acknowledge response (10H) to the controller.
(12) The 27th to mth bytes from the controller are stored in the on-chip RAM of the TMP1962F10AXBG. Storage begins at the address specified by the 19th-22nd bytes and continues for the number of bytes specified by the 23rd-24th bytes. (13) The (m+1)th byte is a checksum value. To calculate the checksum value, add the 27th to mth bytes together, drop the carries and take the two's complement of the total sum. Transmit this checksum value from the controller to the target board. The checksum calculation is described in details in Section 3.5.14. (14) The (m+2)th byte is a acknowledge response to the 27th to (m+1)th bytes. First, the RAM Transfer routine checks for a receive error in the 27th to (m+1)th bytes. If there was a receive error, the RAM Transfer routine sends back 18H and returns to the state in which it waits for a command (i.e., the 3rd byte) again. In this case, the upper four bits of the acknowledge response are the same as those of the previously issued command (i.e., all 1s). When the SIO0 is configured for I/O Interface mode, the RAM Transfer routine does not check for a receive error. (15) Next, the RAM Transfer routine performs the checksum operation to ensure data integrity. Adding the series of the 27th to (m+1)th bytes must result in zero (with the carry dropped). If it is not zero, one or more bytes of data has been corrupted. In case of a checksum error, the RAM Transfer routine sends back 11H to the controller and returns to the state in which it waits for a command (i.e., the 3rd byte) again. When the above checks have been successful, the RAM Transfer routine returns a normal acknowledge response (10H) to the controller. If the (m+2)th byte was a normal acknowledge response, a branch is made to the address specified by the 19th to 22nd bytes in 32-bit ISA mode.
3.5.8
Show Flash Memory Sum Command
See Table 3.7. (1) The processing of the 1st and 2nd bytes are the same as for the RAM Transfer command. (2) The 3rd byte, which the target board receives from the controller, is a command. The code for the Show Flash Memory Sum command is 20H. (3) The 4th byte, transmitted from the target board to the controller, is an acknowledge response to the 3rd byte. Before sending back the acknowledge response, the boot program checks for a receive error. If there was a receive error, the boot program transmits x8H and returns to the state in which it waits for a command again. In this case, the upper four bits of the acknowledge response are undefined -- they hold the same values as the upper four bits of the previously issued command. When the SIO0 is configured for I/O Interface mode, the boot program does not check for a receive error. If the 3rd byte is equal to any of the command codes listed in Table 3.5 on page 37, the boot program echoes it back to the controller. When the Show Flash Memory Sum command was received, the boot program echoes back a value of 20H and then branches to the Show Flash Memory Sum routine. If the 3rd byte is not a valid command, the boot program sends back x1H to the controller and returns
TMP1962F-45
TMP1962F10AXBG
to the state in which it waits for a command again. In this case, the upper four bits of the acknowledge response are undefined -- they hold the same values as the upper four bits of the previously issued command. (4) The Show Flash Memory Sum routine adds all the bytes of the flash memory together. The 5th and 6th bytes, transmitted from the target board to the controller, indicate the upper and lower bytes of this total sum, respectively. For details on sum calculation, see Section 3.5.13. (5) The 7th byte is a checksum value for the 5th and 6th bytes. To calculate the checksum value, add the 5th and 6th bytes together, drop the carry and take the two's complement of the sum. Transmit this checksum value from the controller to the target board. (6) The 8th byte is the next command code.
3.5.9
Show Product Information Command
See Table 3.8. (1) The processing of the 1st and 2nd bytes are the same as for the RAM Transfer command. (2) The 3rd byte, which the target board receives from the controller, is a command. The code for the Show Product Information command is 30H. (3) The 4th byte, transmitted from the target board to the controller, is an acknowledge response to the 3rd byte. Before sending back the acknowledge response, the boot program checks for a receive error. If there was a receive error, the boot program transmits x8H and returns to the state in which it waits for a command again. In this case, the upper four bits of the acknowledge response are undefined -- they hold the same values as the upper four bits of the previously issued command. When the SIO0 is configured for I/O Interface mode, the boot program does not check for a receive error. If the 3rd byte is equal to any of the command codes listed in Table 3.5 on page 37, the boot program echoes it back to the controller. When the Show Flash Memory Sum command was received, the boot program echoes back a value of 30H and then branches to the Show Flash Memory Sum routine. If the 3rd byte is not a valid command, the boot program sends back x1H to the controller and returns to the state in which it waits for a command again. In this case, the upper four bits of the acknowledge response are undefined -- they hold the same values as the upper four bits of the previously issued command. (4) The 5th to 8th bytes, transmitted from the target board to the controller, are the data read from addresses 0x0000_03F0-0x0000_03F3 in the flash memory. Software version management is possible by storing a software id in these locations. (5) The 9th to 20th bytes, transmitted from the target board to the controller, indicate the product name, which is "TX1962F10___" in ASCII code (where _ is a space).
TMP1962F-46
TMP1962F10AXBG
(6) The 21st to 24th bytes, transmitted from the target board to the controller, indicate the start address of the flash memory area containing the password, i.e., F4H, 03H, 00H, 00H. (7) The 25th to 28th bytes, transmitted from the target board to the controller, indicate the start address of the on-chip RAM, i.e., 00H, 60H, FDH, FFH. (8) The 29th to 32nd bytes, transmitted from the target board to the controller, are dummy data (FFH, 6FH, FDH, FFH). (9) The 33rd to 36th bytes, transmitted from the target board to the controller, indicate the end address of the on-chip RAM, i.e., FFH, FFH, FDH, FFH. (10) The 37th to 40th bytes, transmitted from the target board to the controller, are 00H, 70H, FDH and FFH. The 41st to 44th bytes, transmitted from the target board to the controller, are FFH, EFH, FDH and FFH. (11) The 45th and 46th bytes, transmitted from the target board to the controller, indicate the presence or absence of the security and protect bits and whether the flash memory is divided into blocks. Bit 0 indicates the presence or absence of the security bit; it is 0 if the security bit is available. Bit 1 indicates the presence or absence of the protect bits; it is 0 if the protect bits are available. If bit 2 is 0, it indicates that the flash memory is divided into blocks. The remaining bits are undefined. The 45th and 46th bytes are 01H, 00H. (12) The 47th to 50th bytes, transmitted from the target board to the controller, indicate the start address of the on-chip flash memory, i.e., 00H, 00H, 00H, 00H. (13) The 51st to 54th bytes, transmitted from the target board to the controller, indicate the end address of the on-chip flash memory, i.e., FFH, FFH, 0FH, 00H. (14) The 55th to 56th bytes, transmitted from the target board to the controller, indicate the number of flash blocks available, i.e., 08H, 00H. (15) The 57th to 92nd bytes, transmitted from the target board to the controller, contain information about the flash blocks. Flash blocks of the same size are treated as a group. Information about the flash blocks indicate the start address of a group, the size of the blocks in that group (in halfwords) and the number of the blocks in that group. The 57th to 65th bytes are the information about the 128-kbyte blocks (Block 0 to Block 7). See Table 3.8 for the values of bytes transmitted. (16) The 66th byte, transmitted from the target board to the controller, is a checksum value for the 5th to 65th bytes. The checksum value is calculated by adding all these bytes together, dropping the carry and taking the two's complement of the total sum. (17) The 67th byte is the next command code.
TMP1962F-47
TMP1962F10AXBG
3.5.10
Acknowledge Responses
The boot program represents processing states with specific codes. Table 3.9 to Table 3.11 show the values of possible acknowledge responses to the received data. The upper four bits of the acknowledge response are equal to those of the command being executed. Bit 3 of the code indicates a receive error. Bit 0 indicates an invalid command error, a checksum error or a password error. Bit 1 and bit 2 are always 0. Receive error checking is not done in I/O Interface mode.
Table 3.9 ACK Response to the Serial Operation Mode Byte Return Value
86H 30H
Meaning
The SIO can be configured to operate in UART mode. (See Note) The SIO can be configured to operate in I/O Interface mode.
Note: If the serial operation mode is determined as UART, the boot program checks if the SIO can be programmed to the baud rate at which the operation mode byte was transferred. If that baud rate is not possible, the boot program aborts, without sending back any response.
Table 3.10 ACK Response to the Command Byte Return Value
x8H (See Note) x1H (See Note) 10H 20H 30H
Meaning
A receive error occurred while getting a command code. An undefined command code was received. (Reception was completed normally.) The RAM Transfer command was received. The Show Flash Memory Sum command was received. The Show Product Information command was received.
Note: The upper four bits of the ACK response are the same as those of the previous command code.
Table 3.11 ACK Response to the Checksum Byte Return Value
18H 11H 10H A receive error occurred. A checksum or password error occurred. The checksum was correct.
Meaning
TMP1962F-48
TMP1962F10AXBG
3.5.11
Determination of a Serial Operation Mode
The first byte from the controller determines the serial operation mode. To use UART mode for communications between the controller and the target board, the controller must first send a value of 86H at a desired baud rate to the target board. To use I/O Interface mode, the controller must send a value of 30H at 1/16 the desired baud rate. Figure 3.9 shows the waveforms for the first byte.
Start Point A UART (86H)
tAB tCD
bit 0 bit 1 Point B
bit 2 bit 3 Point C
bit 4
bit 5
bit 6 bit 7 Point D
Stop
bit 0 Point A I/O Interface (30H)
bit 1
bit 2
bit 3 bit 4 Point B
bit 5 bit 6 Point C
bit 7 Point D
tAB
tCD
Figure 3.9 Serial Operation Mode Byte After RESET is released, the boot program monitors the first serial byte from the controller, with the SIO reception disabled, and calculates the intervals of tAB, tAC and tAD. Figure 3.10 shows a flowchart describing the steps to determine the intervals of tAB, tAC and tAD. As shown in the flowchart, the boot program captures timer counts each time a logic transition occurs in the first serial byte. Consequently, the calculated tAB, tAC and tAD intervals are bound to have slight errors. If the transfer goes at a high baud rate, the CPU might not be able to keep up with the speed of logic transitions at the serial receive pin. In particular, I/O Interface mode is more prone to this problem since its baud rate is generally much higher than that for UART mode. To avoid such a situation, the controller should send the first serial byte at 1/16 the desired baud rate. The flowchart in Figure 3.11 shows how the boot program distinguishes between UART and I/O Interface modes. If the length of tAB is equal to or less than the length of tCD, the serial operation mode is determined as UART mode. If the legnth of tAB is greater than the length of tCD, the serial operation mode is determined as I/O Interface mode. Bear in mind that if the baud rate is too high or the timer operating frequency is too low, the timer resolution will be coarse, relative to the intervals between logic transitions. This becomes a problem due to inherent errors caused by the way in which timer counts are captured by software; consequently the boot program might not be able to determine the serial operation mode correctly. For example, the serial operation mode may be determined to be I/O Interface mode when the intended mode is UART mode. To avoid such a situation, when UART mode is utilized, the controller should allow for a time-out period within which it expects to receive an echo-back (86H) from the target board. The controller should give up the communication if it fails to get that echo-back within the alloted time. When I/O Interface mode is utilized, once the first serial byte has been transmitted, the controller should send the SCLK clock after a certain idle time to get an acknowledge response. If the received acknowledge response is not 30H, the controller should give up further communications.
TMP1962F-49
TMP1962F10AXBG
Start
Initialize 16-bit Timer 0 (T1 = 8/fc, counter cleared) Set TB0RG1 to 0xFFFF Prescaler is on.
Point A
High-to-low transition on serial receive pin? Yes 16-bit Timer 0 starts counting up
Point B
Low-to-high transition on serial receive pin? Yes Software-capture and save timer value (tAB)
Point C
High-to-low transition on serial receive pin? Yes Software-capture and save timer value (tAC)
Point D
Low-to-high transition on serial receive pin? Yes Software-capture and save timer value (tAD) 16-bit Timer 0 stops counting
tAC tAD?
Yes
Make backup copy of tAD value Stop operation (infinite loop)
Done
Figure 3.10 Serial Operation Mode Byte Reception Flow
TMP1962F-50
TMP1962F10AXBG
Start
tCD tAD - tAC
tAB > tCD?
Yes
UART Mode
I/O Interface Mode
Figure 3.11 Serial Operation Mode Determination Flow
3.5.12
Password
The RAM Transfer command (10H) causes the boot program to perform a password check. Following an echo-back of the command code, the boot program checks the contents of the 12-byte password area (0x4000_03F4 to 0x4000_03FF) within the flash memory. If all these address locations contain the same bytes of data other than FFH, a password area error occurs. In this case, the boot program returns an error acknowledge (11H) in response to the checksum byte (the 17th byte), regardless of whether the password sequence sent from the controller is all FFHs. The password sequence received from the controller (5th to 16th bytes) is compared to the password stored in the flash memory. Table 3.12 shows how they are compared byte-by-byte. All of the 12 bytes must match to pass the password check. Otherwise, a password error occurs, which causes the boot program to return an error acknowledge in response to the checksum byte (the 17th byte).
Start
Are all bytes the same?
No
Yes
Are all bytes equal to FFH? No Password area error
Yes
Password area is normal.
Figure 3.12 Password Area Check Flow
TMP1962F-51
TMP1962F10AXBG
Table 3.12 Relationship between Received Bytes and Flash Memory Locations Received Byte
5th byte 6th byte 7th byte 8th byte 9th byte 10th byte 11th byte 12th byte 13th byte 14th byte 15th byte 16th byte
Compared Flash Memory Data
Address 0x0000_03F4 Address 0x0000_03F5 Address 0x0000_03F6 Address 0x0000_03F7 Address 0x0000_03F8 Address 0x0000_03F9 Address 0x0000_03FA Address 0x0000_03FB Address 0x0000_03FC Address 0x0000_03FD Address 0x0000_03FE Address 0x0000_03FF
3.5.13
Calculation of the Show Flash Memory Sum Command
The Show Flash Memory Sum command adds all 1024 kbytes of the flash memory together and provides the total sum as a halfword quantity. The sum is sent to the controller, with the upper eight bits first, followed by the lower eight bits. Example: For the interest of simplicity, assume the depth of the flash memory is four locations. Then the sum of the four bytes is calculated as: A1H + B2H + C3H + D4H = 02EAH
C3H D4H
A1H B2H
Hence, 02H is first sent to the controller, followed by EAH.
3.5.14
Checksum Calculation
The checksum byte for a series of bytes of data is calculated by adding the bytes together, dropping the carries, and taking the two's complement of the total sum. The Show Flash Memory Sum command and the Show Product Information command perform the checksum calculation. The controller must perform the same checksum operation in transmitting checksum bytes. Example: Assume the Show Flash Memory Sum command provides the upper and lower bytes of the sum as E5H and F6H. To calculate the checksum for a series of E5H and F6H: (1) Add the bytes together. E5H + F6H = 1DBH (2) Drop the carry. (3) Take the two's complement of the sum, and that is the checksum byte. 0 - DBH = 25H
TMP1962F-52
TMP1962F10AXBG
3.5.15
General Boot Program Flowchart
Figure 3.13 shows an overall flowchart of the boot program.
Single Boot program starts Initialize Get SIO operation mode data UART Baud rate setting? Can be set Program UART mode and baud rate ACK data Received data (86H) (Send 86H) Normal response Cannot be set
SIO Operation Mode? I/O Interface Set I/O Interface Mode
ACK data Received data (30H)
Stop operation
(Send 30H) Normal response Prepare to get a command
ACK data ACK data & 0xF0 Receive routine Get a command
Receive error? No normally RAM Transfer? Yes (10h) ACK data Received data (10H)
Transmission routine (Send 10H: normal response)
Yes
ACK data ACK data 0x08
Transmission routine (Send x8H: Receive error)
Show Flash Memory Sum? Yes (20h) ACK data Received data (20H)
Transmission routine (Send 20H: normal response)
Show Product Information?
Command error
Yes (30h) ACK data Received data (30H)
Transmission routine (Send 30H: normal response)
ACK data ACK data | 0x01 Transmission routine (Send x1H: Command error)
RAM Transfer processing
Show Flash Memory Sum processing
Show Product Information processing
Processed normally?
Yes normally Jump to RAM
Figure 3.13 Overall Boot Program Flow
TMP1962F-53
TMP1962F10AXBG
3.
3.6
On-Board Programming and Erasure
The TMP1962F10AXBG flash memory is command set compatible with the JEDEC EEPROM standard, with a few exceptions. In User Boot mode and Single Boot mode (the RAM Transfer command), the flash memory can be programmed and erased by the CPU executing software commands. It is the user's responsibility to create a program/erase routine. Because the flash memory can not be read while it is being programmed or erased, the program/erase routine must be executed out of the on-chip RAM or an external memory device.
3.6.1
Key Features
The TMP1962F10AXBG flash memory commands are in principle compatible with the standard JEDEC commands. For program/erase operations, the system can issue a command sequence to the flash memory by using CPU instructions such as LD. After the command sequence is written, the flash memory does not require the system to provide further controls or timings. The flash memory initiates the embedded program or erase algorithm automatically. The entire flash memory or one or more flash blocks can be erased at a time.
Table 3.14 Flash Memory Features Feature
Auto Program Auto Chip Erase Auto Block Erase Auto Multi-Block Erase Write operation status Security feature
Description
Programs and verifies the desired addresses word by word automatically. Erases and verifies the entire memory array automatically. Erases and verifies all memory locations in the selected block automatically. Erases and verifies all memory locations in multiple selected blocks automatically. Provides several status bits such as the Data Polling bit and Toggle bit, which can be used to determine whether a program or erase operation is complete or in progress. Prevents intrusive access to the flash memory while in Programmer mode. When the security feature is turned off, the entire memory array is erased and verified automatically, regardless of whether a given block is protected or not. Disables both program and erase operations in any block.
Block protection
Bear in mind that, due to the on-chip CPU interface, the TMP1962F10AXBG uses addresses different from those of the standard flash command sequences. Unless otherwise noted, programming is done word by word; thus the word load instruction should be used to write to the flash array.
TMP1962F-54
TMP1962F10AXBG
3.6.2
Block Architecture
0xxxxx_0000 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 128 kbytes 0xxxxF_FFFF 128 kbytes
x: Depends on the TMP1962F10AXBG operation mode
Figure 3.16 Flash Memory Block Architecture
3.6.3
CPU-to-Flash Interface
Figure 3.17 illustrates the internal interface between the CPU and the flash memory in on-board programming modes. The diagram does not show the actual logic network; instead it is only a conceptual depiction of the CPU-to-flash interface.
Single-Chip mode: 0x1FC0_0000 - 0x1FCF_FFFF (physical address) Single Boot mode: 0x4000_0000 - 0x400F_FFFF (physical address) CPU Operation Mode Decoder
CE
Flash Memory
A31 - A17
(1024 kB) A16 - A2 D31 - D0
WR RD
AD14 - AD0 DQ31 - DQ0
WE OE
RESET
CPU RESET Register
RDY_ BSY
Figure 3.17 Internal CPU-to-Flash Interface
TMP1962F-55
TMP1962F10AXBG
3.6.4
Read Mode and Embedded Operation Mode
The flash memory of the TMP1962F10AXBG has the following two modes of operation: * * Read mode in which array data is read Embedded Operation mode in which the flash array is programmed or erased
The flash memory enters Embedded Operation mode when a valid command sequence is executed in Read mode. In Embedded Operation mode, array data can not be read.
3.6.5
Reading Array Data
The flash memory is automatically set to reading array data upon CPU reset after device power-up and after an embedded operation is successfully completed. If an embedded operation terminated abnormally or the flash memory is required to return to the Read mode, the Read/Reset command (software reset) or hardware reset is used.
3.6.6
Writing Commands
The operations of the flash memory are selected by commands or command sequences written into the internal command register. This uses the same mechanism as for JEDEC-standard EEPROMs. Commands are made up of data sequences written at specific addresses via the command register. See Table 3.16 on page 63 for the list of command sequences. The command sequence being written can be canceled by issuing the Read/Reset command between sequence cycles. The Read/Reset command clears the command register and resets the flash memory to Read mode. Invalid command sequences also cause the flash memory to clear the command register and return to Read mode.
3.6.7
Reset
* Read/Reset command (software reset) The flash memory does not return to Read mode if an embedded operation terminated abnormally. In this case, the Read/Reset command must be issued to put the flash memory back in Read mode. The Read/Reset command may also be written between sequence cycles of the command being written to clear the command register. * Hardware reset ( RESET input) As shown in Figure 3.17, the flash memory has a reset pin, which is connected to the reset signal of the CPU. When the system drives the RESET pin to VIL or when certain events such as a watchdog timer time-out causes a CPU reset, the flash memory immediately terminates any operation in progress and is reset to Read mode. The Read/Reset command is also tied to the RESET pin to reset the flash memory to Read mode. The embedded operation that was interrupted should be re-initiated once the flash memory is ready to accept another command sequence because data may be corrupted. For a description of the hardware reset operation, see Section 3.3.2, Reset Operation. When a valid reset is achieved, the CPU reads the Reset exception vector from the flash memory and services the Reset exception.
TMP1962F-56
TMP1962F10AXBG 3.6.8 Auto Program Command
A bit must be programmed to change its state from a 1 to a 0. A bit can not be programmed from a 0 back to a 1. Only an erase operation can change a 0 back to a 1. In User Boot mode and the RAM Transfer command of Single Boot mode, the Auto Program command programs the desired addresses word by word. The Auto Program command requires four bus cycles; the program address and data are written in the fourth cycle, upon completion of which the program operation will commence. As programming is performed on a word-by-word basis, the program address must be a multiple of four. Writing data shorter than a 32-bit word requires special considerations for the bits that are not to be altered. The word in the memory does not need to be in the erased state prior to programming. If the word is in the erased state, a 32-bit write must be performed, with all the bits not to be altered set to 1. Examples: * When a word location is in the erased state To program the least-significant byte of that word to 55H, 0xFFFF_FF55 must be written to the word address.
Note : The superscription of data cannot be done in the flash memory. The Auto Program command executes a sequence of internally timed events to program the desired bits of the addressed memory word and verify that the desired bits are sufficiently programmed. The system can determine the status of the programming operation by using write status flags (see Table 3.19 on page 65). Any commands written during the programming operation are ignored. A hardware reset immediately terminates the programming operation. The programming operation that was interrupted should be re-initiated once the flash memory is ready to accept another command sequence because data may be corrupted. The block protection feature disables programming operations in any block. If an attempt is made to program a protected block, the Auto Program command does nothing; the flash memory returns to Read mode in approximately 3 m after the completion of the fourth bus cycle of the command sequence. When the embedded Auto Program algorithm is complete, the flash memory returns to Read mode. If any failure occurs during the programming operation, the flash memory remains locked in Embedded Operation mode. The system can determine this status by using write status flags. To put the flash memory back in Read mode, use the Read/Reset command to reset the flash memory or a hardware reset to reset the whole chip. In case of a programming failure, it is recommended to replace the chip or discontinue the use of the failing flash block.
3.6.9
Auto Chip Erase Command
The Auto Chip Erase command requires six bus cycles. The flash area is partitioned into two areas, that are Block 0 to Block 3 (Flash 0) and Block 4 to Block 7 (Flash 1). The chip erase operation is performed for individual area. Set A[19] (address 19) = 0 for Flash 0, and A[19] = 1 for Flash 1 by each bus cycle. After completion of the sixth bus cycle, the Auto Chip Erase operation will commence immediately. The embedded Auto Chip Erase algorithm automatically preprograms the entire memory for an all-0 data pattern prior to the erase; then it automatically erases and verifies the entire memory for an all-1 data pattern. The system can determine the status of the chip erase operation by using write status flags (see
TMP1962F-57
TMP1962F10AXBG
Table 3.19 on page 65). Any commands written during the chip erase operation are ignored. A hardware reset immediately terminates the chip erase operation. The chip erase operation that was interrupted should be re-initiated once the flash memory is ready to accept another command sequence because data may be corrupted. The block protection feature disables erase operations in any block. The Auto Chip Erase algorithm erases the unprotected blocks and ignores the protected blocks. If all the blocks are protected, the Auto Chip Erase command does nothing; the flash memory returns to Read mode in approximately 100 m after the completion of the sixth bus cycle of the command sequence. When the embedded Auto Chip Erase algorithm is complete, the flash memory returns to Read mode. If any failure occurs during the erase operation, the flash memory remains locked in Embedded Operation mode. The system can determine this status by using write status flags. To put the flash memory back in Read mode, use the Read/Reset command to reset the flash memory or a hardware reset to reset the whole chip. In case of an erase failure, it is recommended to replace the chip or discontinue the use of the failing flash block. The failing block can be identified by means of the Block Erase command.
3.6.10
Auto Block Erase and Auto Multi-Block Erase Commands
The Auto Block Erase command requires six bus cycles. A time-out begins from the completion of the command sequence. After a time-out, the erase operation will commence. The embedded Auto Block Erase algorithm automatically preprograms the selected block for an all-0 data pattern, and then erases and verifies that block for an all-1 data pattern. During the time-out period, additional block addresses and Auto Block Erase commands may be written. Multi-block is selectable in either Flash 0 area or Flash 1 area. Any command other than Auto Block Erase during the time-out period resets the flash memory to Read mode. The block erase time-out period is 50 m. The system may read DQ3 to determine whether the time-out period has expired. The block erase timer begins counting upon completion of the sixth bus cycle of the Auto Block Erase command sequence. The system can determine the status of the erase operation by using write status flags (see Table 3.19 on page 65). Any commands written during the block erase operation are ignored. A hardware reset immediately terminates the block erase operation. The block erase operation that was interrupted should be re-initiated once the flash memory is ready to accept another command sequence because data may be corrupted. The block protection feature disables erase operations in any block. The Auto Block Erase algorithm erases the unprotected blocks and ignores the protected blocks. If all the selected blocks are protected, the Auto Block Erase algorithm does nothing; the flash memory returns to Read mode in approximately 100 m after the final bus cycle of the command sequence. When the embedded Auto Block Erase algorithm is complete, the flash memory returns to Read mode. If any failure occurs during the erase operation, the flash memory remains locked in Embedded Operation mode. The system can determine this status by using write status flags. To put the flash memory back in Read mode, use the Read/Reset command to reset the flash memory or a hardware reset to reset the whole chip. In case of an erase failure, it is recommended to replace the chip or discontinue the use of the failing flash block. If any failure occurred during the multi-block erase operation, the failing block can be identified by running Auto Block Erase on each of the blocks selected for multi-block erasure.
TMP1962F-58
TMP1962F10AXBG
3.6.11
Block Protect Command
The block protection feature disables both program and erase operations in any block. After completion of the seventh bus write cycle, FCLS is 0 during Block Protect operation, and 1 after Block Protect operation. Table 3.15 Effects of the Program and Erase Commands on the Protected Blocks Command
Program command on a protected block Block Erase command on a protected block Chip Erase command when all the blocks are protected
Operation
No programming operation is performed, and the flash memory automatically returns to Read mode. No erase operation is performed, and the flash memory automatically returns to Read mode. No erase operation is performed, and the flash memory automatically returns to Read mode.
Chip Erase command when any blocks are protected Only the unprotected blocks are erased. Upon completion, the flash memory automatically returns to Read mode. Multi-Block Erase command when any blocks are protected Only the unprotected blocks are erased. Upon completion, the flash memory automatically returns to Read mode.
Any commands written during the Block Protect algorithm are ignored. A hardware reset immediately terminates the block protect operation. The Block Protect command that was interrupted should be re-initiated once the flash memory is ready to accept another command sequence.
3.6.12
Block Unprotect Operation
Block unprotect operation is performed for individual area (Flash 0 and Flash 1). Set A[19] in accordance to the area required for block unprotect by the bus cycle. After completion of the seventh bus write cycle, FCLS is 0 during block unprotect operation, and 1 after block unprotect operation. Any commands written during the Block Unprotect algorithm are ignored. The hardware reset immediately terminates the block unprotect operation. The Block Protect command should be reinitiated once the flash memory is ready to accept another command sequence. Use the Verify Block Protect command to verify the protect status of a block.
3.6.13
Verify Block Protect Command
The Verify Block Protect command is used to verify the protect status of a block. Verify Block Protect is a four-bus-cycle operation. The address of the block to be verified is given in the fourth cycle. Any address within the block range will suffice, provided A0 = A1 = A2 = A3 = 0, A4 = 1 and A6 = 0. To get correct data, a 32-bit read must be performed. Use the last read as valid data. If the selected block is protected, a value of 0x0000_0001 is returned. If the selected block is not protected, a value of 0x0000_0000 is returned. Following the fourth bus cycle, an additional block address may be read. The Verify Block Protect command does not return the flash memory to Read mode. Either the Read/Reset command or a hardware reset is required to reset the flash memory to Read mode or to write the next command.
TMP1962F-59
TMP1962F10AXBG
3.6.14
Write Operation Status
As shown in Table 3.19, the flash memory provides several flag bits to determine the status of an embedded operation: DQ7, DQ5 and DQ3. These status bits can be read during an embedded operation using the same timing as for Read mode. The flash memory automatically returns to Read mode when an embedded operation completes. The status of an embedded program operation can be monitored to determine whether the hardware sequence flag during an embedded operation, or the data read after completion of an embedded operation match the cell data. Read of the hardware sequence flag is performed by checking start of embedded operation (FLCS=0). During the embedded program operation, the system must provide the program address (with A0 = 0 and A1 = 0) to read valid status information. During the embedded erase operation, the system must provide an address (with A0 = 0 and A1 = 0) within any of the blocks selected for erasure to read valid status information. * DQ7 (Data Polling) The Data Polling bit, DQ7, indicates to the host system the status of the embedded operation. Data Polling is valid after the final bus write cycle of an embedded command sequence. When the embedded Program algorithm is in progress, an attempt to read the flash memory will produce the complement of the data last written to DQ7. Upon completion of the embedded Program algorithm, an attempt to read the flash memory will produce the true data last written to DQ7. Therefore, the system can use DQ7 to determine whether the embedded Program algorithm is in progress or complete. When the embedded Erase algorithm is in progress, an attempt to read the flash memory will produce a 0 at the DQ7 output. Upon completion of the embedded Erase algorithm, the flash memory will produce a 1 at the DQ7 output. If there is a failure during an embedded operation, DQ7 continues to output the same value. Thus, DQ7 must always be polled in conjunction with the Exceeded Timing Limits (DQ5) flag. Figure 3.21 shows the DQ7 polling algorithm. The flash memory disables address latching when an embedded operation is complete. Data polling must be performed with a valid programmed address or an address within any of the non-protected blocks selected for erasure. *
DQ5 (Exceeded Timing Limits) DQ5 produces a 0 while the program or erase operation is in progress normally. DQ5 produces a 1 to indicate that the program or erase time has exceeded the specified internal limit. This is a failure condition that indicates the program or erase cycle was not successfully completed. The DQ5 failure condition also appears if the system tries to program a 1 to a location that was previously programmed to a 0. Only an erase operation can change a 1 back to a0. In this case, the embedded Program algorithm halts the operation. Once the operation has exceeded the timing limits, DQ5 will indicate a 1. Note that this is not a device failure condition since the flash memory was used incorrectly. Under both these conditions, the flash memory remains locked in Embedded Operation mode. The system must issue the Read/Reset command to return the flash memory to Read mode.
TMP1962F-60
TMP1962F10AXBG
* DQ3 (Block Erase Timer) After the completion of the sixth bus cycle of the Auto Block Erase command sequence, the block erase time-out window of 50 m begins. The erase operation will begin after the time-out has expired. When the time-out is complete and the erase operation has begun, DQ3 switches from 0 to 1. If DQ3 is 0, the flash memory will accept additional Auto Block Erase commands. Each time an Auto Block Erase command is written, the time-out window is reset. To ensure that the command has been accepted, the system should check DQ3 prior to and following each Auto Block Erase command. If DQ3 is 1 on the second status check, the command might not have been accepted.
3.6.15
Flash Control/Status Register
This is an 8-bit register that indicates the Ready/Busy status of an embedded algorithm and controls the security feature. 7 6 5 4 3 2
RDY/BSY R 1 Ready/ Busy 0: Embedded algorithm is in progress. 1: Embedded algorithm is complete. 0 Must be written as "0".
1
0
FLCS
Bit Symbol Reset Value Function
FLRMSK W 0 Flash reset mask enable 1: Reset a flash control circuitry 0: Unreset a flash control circuitry
(0xFFFF_E520) Read/Write
Figure 3.18 Flash Control/Status Register * Bit 2: Ready/Busy Flag Bit( In Programmer mode, the ALE pin functions as the RDY/ BSY pin. The host system can monitor the state of this pin to determine whether an embedded algorithm is in progress or complete. The CPU can poll the RDY/BSY bit in the FLCS register for the same purpose. The RDY/BSY bit is cleared to 0 when the flash memory is actively erasing or programming. The RDY/BSY bit is set to 1 when an embedded operation has completed and the flash memory is ready to accept the next command. If any failure occurs during the program or erase operation, this bit remains cleared. A hardware reset sets this bit. The RDY/BSY bit is cleared upon completion of the final bus write cycle of an embedded operation command, with one exception. In the case of the Auto Block Erase command, this bit is cleared after the time-out has expired. Any command is ignored while the RDY/BSY bit is cleared.
TMP1962F-61
TMP1962F10AXBG
* Bit 7: Flash Reset Mask Bit An interval of 30 s (T.B.D.) is allowed to elapse before starting the processor core operation after a reset upon power on, which is required to initialize an on-chip flash control circuitry. SYSRDY is signaled to indicate the start of the processor core operation from outside of TMP1962. After the processor core is reset, SYSRDY switches from Low to High. The reset operation after power on (do not power off) is controlled by bit 7 (FLRMSK) of the flash control/status register (FLCS) in the flash control part. When the FLRMSK bit is 0 (initial value), the flash control circuitry is always initialized. When the FLRMSK bit is set to 1, the flash control circuitry is not initialized. (Read of the on-chip flash memory is performed correctly.) In this case, the interval of 30 s (T.B.D.) is not required for the flash control circuitry to be stable after a reset. Immediately the processor core starts operation, and the SYSRDY signal switches to High. The value set to the FLRMSK bit is retained until power off. Set FLRMSK=1 commonly by initial setting afterreset.
Note: The Flash Control/Status register must be accessed as a 32-bit quantity.
3.6.16
Flash Security
The TMP1962F10AXBG flash memory supports not only on-board programming but also programming using a general-purpose programmer. Therefore, the TMP1962F10AXBG flash memory provides a security feature to prevent intrusive access to the flash memory while in Programmer mode. The TMP1962F10AXBG is secured by all eight blocks being protected, and the contents of a flash memory can not be read by a programmer. * Securing the flash (Disabling read accesses) Securing the flash memory disables a general-purpose programmer to read its contents. To turn on the security feature, once programming is complete, protect all eight blocks. That secures the flash memory. If one of eight blocks is unprotected, the flash memory is unsecured. In on-board operating modes, the CPU can read the flash memory even if the security is on. When the security is ON, any reads by programming equipment will always return a word-length value of 0x0098. * Unsecuring the flash (Enabling read accesses) The security feature is designed to disable reads of the flash memory by programming equipment. While the TMP1962F10AXBG is soldered on a board, the CPU can always read the flashmemory, regardless of whether or not the security is on. Since the flash memory is placed under control of a user's application program in on-board operating modes, it is not easy for third parties to perform intrusive access to the flash memory. Therefore, within the confines of a board, the flash memory does not need to be secured. To turn off the security feature, unprotect eight blocks. Unsecuring the flash memory enables the flash memory erase operation to occur before turning off the security feature. After a flash memory has been erased, the flash memory unsecure operation is completed by erasing the Block Protect bit.
TMP1962F-62
TMP1962F10AXBG
3.6.17
Command Definition
Table 3.16 On-Board Programming Mode Command Definition Command Cycles Sequence Required
Read/Reset Read/Reset Auto Program Auto Chip Erase Auto Block Erase Block Protect Block Unprotect ID Read/Block Protect Verify 1 3 4 6 6 7 7 4
1st Cycle (Write) Addr
0xXXXX 0x5554 0x5554 0x5554 0x5554 0x5554 0x5554 0x5554
2nd Cycle (Write) Addr
0xAAA8 0xAAA8 0xAAA8 0xAAA8 0xAAA8 0xAAA8 0xAAA8
Bus Cycles 3rd Cycle (Write) Addr
0x5554 0x5554 0x5554 0x5554 0x5554 0x5554 0x5554
4th Cycle (Read/Write) Addr
RA PA 0x5554 0x5554 0x5554 0x5554 IA/BPA
5th Cycle (Read/Write) Addr Data
Data
F0H AAH AAH AAH AAH AAH AAH AAH
Data
55H 55H 55H 55H 55H 55H 55H
Data
F0H A0H 80H 80H 9AH 6AH 90H
Data
RD PD AAH AAH AAH AAH ID/BD
0xAAA8 0xAAA8 0xAAA8 0xAAA8
55H 55H 55H 55H
(Continued from above) Bus Cycles Command Cycles Sequence Required
Read/Reset Read/Reset Auto Program Auto Chip Erase Auto Block Erase Block Protect Block Unprotect Auto Security On (Note 1) 1 3 4 6 6 7 7 4 0x5554 BA 0x5554 0x5554 10H 30H 9AH 6AH BPA 0x5554 9AH 6AH
6th Cycle (Write) Addr Data
7th Cycle (Write) Addr Data
Note 1: After every bus write cycle, execute SYNC and NOP in sequence. Note 2: Set the value corresponding the flash memory address to 16-bit through 19-bit in every bus write cycle.
TMP1962F-63
TMP1962F10AXBG
The addresses to be provided by the CPU are shown below. Table 3.17 Addresses Provided by the CPU CPU Addresses: A23-A0 Command Address A23-A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6
0xXXX0 0x0000 0xAAA8 0x5554 Flash memory block X 0 1 0 X 0 0 1 X 0 1 0 X 0 0 1 X 0 1 0 X 0 0 1 X 0 1 0 X 0 0 1 X 0 1 0 X 0 0 1
A5
X 0 1 0
A4
X 0 0 1
A3
0 0 1 0
A2
0 0 0 1
A1
0 0 0 0
A0
0 0 0 0
*
F0H, AAH, 55H, A0H, 80H, 10H, 30H: Command data. Write command data as a byte quantity.
*
RA: Read Address RD: Read Data
*
PA: Program Address PD: Program Data The address must be a multiple of four. Write data on a word-by-word basis.
*
BA: Block Address (BA0-BA6) Refer to Table 3.18.
*
BPA: Verify Block Protect Address BD: Block Protect Data Refer to Table 3.18. The address of the block to be verified can be any of the addresses within the block, with A6 = 0, A4 = 1, A3 = 0, A1 = 0 and A0 = 0. If a block is protected, a value of 0x0000_0001 will be returned. If a block is not protected, a value of 0x0000_0000 will be returned.
* *
IA: ID Read Address ID: ID Data
TMP1962F-64
TMP1962F10AXBG
Table 3.18 Block Erase Addresses User Boot Mode
Block-0 Block-1 Flash0 Block-2 Block-3 Block-4 Block-5 Flash1 Block-6 Block-7 0x1FC0_0000 - 0x1FC1_FFFF (or 0x4000_0000 - 0x4001_FFFF) 0x1FC2_0000 - 0x1FC3_FFFF (or 0x4002_0000 - 0x4003_FFFF) 0x1FC4_0000 - 0x1FC5_FFFF (or 0x4004_0000 - 0x4005_FFFF) 0x1FC6_0000 - 0x1FC7_FFFF (or 0x4006_0000 - 0x4007_FFFF) 0x1FC8_0000 - 0x1FC9_FFFF (or 0x4008_0000 - 0x4009_FFFF) 0x1FCA_0000 - 0x1FCB_FFFF (or 0x400A_0000 - 0x400B_FFFF) 0x1FCC_0000 - 0x1FCD_FFFF (or 0x400C_0000 - 0x400D_FFFF) 0x1FCE_0000 - 0x1FCF_FFFF (or 0x400E_0000 - 0x400E_FFFF)
Boot Mode
0x1FC0_0000 - 0x1FC1_FFFF 0x1FC2_0000 - 0x1FC3_FFFF 0x1FC4_0000 - 0x1FC5_FFFF 0x1FC6_0000 - 0x1FC7_FFFF 0x1FC8_0000 - 0x1FC9_FFFF 0x1FCA_0000 - 0x1FCB_FFFF 0x1FCC_0000 - 0x1FCD_FFFF 0x1FCE_0000 - 0x1FCF_FFFF 128 kbyte 128 kbyte 128 kbyte 128 kbyte 128 kbyte 128 kbyte 128 kbyte 128 kbyte
A19
0 0 0 0 1 1 1 1
A18
0 0 1 1 0 0 1 1
A17
0 1 0 1 0 1 0 1
The address of the block to be erased can be any of the addresses within that block with A0=0 and A1=0. Example: To select BA0 in User Boot mode, provide any address in the range between 0x1FC0_0000 and 0x1FC1_FFFF. Table 3.19 Write Status Flags Status
Auto Program Embedded operation in progress Auto Erase (during the time-out window) Auto Erase Time-out in embedded operation Auto Program Auto Erase
D7 (DQ7) D5 (DQ5) D3 (DQ3)
DQ7
0 0 0 1 1
0 0 1 1 1
0 0
DQ7
0
Note: D31-D8, D6, D4 and D2-D0 are don't-cares.
TMP1962F-65
TMP1962F10AXBG
3.6.18
Embedded Algorithms
Start
Auto Program Command Sequence (Shown below)
Data Polling Bit (Read as a word quantity)
Address = Address + 4 (Word-by-word)
No
Last Address?
Yes Auto Program Done
Auto Program Command Sequence (Address/Data) 0x5554 / 0xAA
0xAAA8 / 0x55
0x5554 / 0xA0
Program Address (A1 = A0 = 0) / Program Data (Word-by-word)
Figure 3.19 Auto Program Operation
TMP1962F-66
TMP1962F10AXBG
Start
Auto Erase Command Sequence (Shown below)
Data Polling Bit (Read as a word quantity)
Auto Erase Done
Auto Chip Erase Command Sequence (Address/Data) 0x5554 / 0xAA
Auto Block/Multi-Block Erase Command sequence (Address/Data) 0x5554 / 0xAA
0xAAA8 / 0x55
0xAAA8 / 0x55
0x5554 / 0x80
0x5554 / 0x80
0x5554 / 0xAA
0x5554 / 0xAA
0xAAA8 / 0x55
0xAAA8 / 0x55
0x5554 / 0x10
Block Address / 0x30
Block Address / 0x30 Additional addresses for Auto Multi-Block Erase (each within 50 s)
Block Address / 0x30
Figure 3.20 Auto Erase Operations
TMP1962F-67
TMP1962F10AXBG
Start
Read a word. Addr = VA (VA: Valid Address) DQ7 = Data ? No No DQ5 = 1 ? Yes Read a word Addr = VA Yes
DQ7 = Data ? No
Yes
Read a word. Addr. = VA
Compare with 32-bit quantity.
Fail
Pass
Figure 3.21 Data Polling (DQ7) Algorithm
TMP1962F-68
TMP1962F10AXBG
4.
Electrical Characteristics
The letter x in equations presented in this chapter represents the cycle period of the fsys clock selected through the programming of the SYSCR1.SYSCK bit. The fsys clock may be derived from either the high-speed or low-speed crystal oscillator. The programming of the clock gear function also affects the fsys frequency. All relevant values in this chapter are calculated with the high-speed (fc) system clock (SYSCR1.SYSCK = 0) and a clock gear factor of 1/fc (SYSCR1.GEAR[1:0] = 00).
4.1
Absolute Maximum Ratings
Parameter Symbol
VCC2 (Core) Supply voltage VCC3 (I/O) AVCC (A/D) FVCC3 (L1 Pin) Input voltage Low-level output current High-level output current Per pin Total Per pin Total VIN IOL IOL IOH IOH PD TSOLDER TSTG Except during flash W/E During flash W/E NEW TOPR
Rating
-0.3 to 3.6 -0.3 to 4.0 -0.3 to 3.6 -0.3 to 4.0 -0.3 to VCC + 0.3 5 50 -5 50 600 260 -65 to 150 -20 to 85 10 to 60 100
Unit
V
V
mA
Power dissipation (Ta = 85C) Soldering temperature (10 s) Storage temperature Operating temperature Write/erase cycles
mW C C C cycle
VCC2 = DVCC21 = DVCC22 = FVCC2 = CVCC2, VCC3 = DVCC3n (n = 1 to 4), AVCC = AVCC31 = AVCC32, VSS = DVSS = FVSS = AVSS = CVSS
Note: Absolute Maximum Ratings are limiting values of operating and environmental conditions which should not be exceeded under the worst possible conditions. The equipment manufacturer should design so that no Absolute Maximum Ratings value is exceeded with respect to current, voltage, power dissipation, temperature, etc. Exposure to conditions beyond those listed above may cause permanent damage to the device or affect device reliability, which could increase potential risks of personal injury due to IC blowup and/or burning.
TMP1962F-69
2006-02-21
TMP1962F10AXBG
4.2
DC Electrical Characteristics (1/4)
Ta = -20 to 85C
Parameter
Supply voltage FVCC2 = CVCC2 = DVCC21 = DVCC22 FVSS = CVSS = DVSS = 0 V P7-P9 (Used as a port) P0-P6, PA-PC, PD0-PD6, Low-level input voltage PE0-PE2, PF2-PF7, PG-PH, PI7, PJ1-PJ4, PL-PP PD7, PE3-PE7, PF0-PF1, PI0-PI6, PJ0, PK, PLLOFF , RSTPUP, RESET
DRESET , DBGE
Symbol
DVCC2m (m = 1 to 2) DVCC3n (n = 1 to 4) FVCC3 VIL1
Conditions
fosc = 10 to 13.5 MHz fsys = 3.75 to 40.5 MHz PLLON, INTLV = "H" fsys = 3.75 to 40.5 MHz fsys = 3.75 to 40.5 MHz 2.7 V AVCC32 AVCC31 3.5 V 1.65 AVCC32 < 2.7 V 1.65 V DVCC3n 3.3 V (n = 1 to 4)
Min
2.2
Typ (Note 1)
Max
2.7
Unit
V 1.65 2.9 3.3 3.6 0.3 AVCC31 0.3 AVCC32
VIL2
0.3 DVCC3n 2.2 V DVCC2m 2.7 V (m = 1 to 2) 0.2 DVCC2m
2.7 V DVCC3n 3.3 V (n = 1 to 4)
-0.3
0.15 DVCC3n
V
VIL3
1.65 V DVCC3n < 2.7 V (n = 1 to 4) 2.2 V DVCC2m 2.7 V (m = 1 to 2)
0.1 DVCC3n 0.1 DVCC2m
SDI/ DINT , TCK, TMS, TDI, TRST
NMI , BW0, BW1
X1
VIL4
2.2 V CVCC2 2.7 V
0.1 CVCC2
Note 1: Ta = 25C, DVCC3n = 3.0 V, DVCC2m = 2.5 V, AVCC3 = 3.3 V, unless otherwise noted.
TMP1962F-70
2006-02-21
TMP1962F10AXBG
4.3
DC Electrical Characteristics (2/4)
Ta = -20 to 85C
Parameter
P7-P9 (Used as a port) P0-P6, PA-PC, PD0-PD6, High-level input voltage PE0-PE2, PF2-PF7, PG-PH, PI7, PJ1-PJ4, PL-PP PD7, PE3-PE7, PF0-PF1, PI0-PI6, PJ0, PK, PLLOFF , RSTPUP, RESET
DRESET , DBGE
Symbol
Conditions
2.7 V AVCC32 AVCC31 3.5 V
Min
0.7 AVCC31 0.7 AVCC32
Typ. (Note 1)
Max
Unit
VIH1 1.65 AVCC32 < 2.7 V 1.65 V DVCC3n 3.3 V (n = 1 to 4) VIH2 2.2 V DVCC2m 2.7 V (m = 1 to 2)
0.7 DVCC3n
0.8 DVCC2m
V 2.7 V DVCC3n 3.3 V (n = 1 to 4) VIH3 1.65 V DVCC3n < 2.7 V (n = 1 to 4) 2.2 V DVCC2m 2.7 V (m = 1 to 2) 0.9 DVCC3n 0.9 DVCC2m 0.85 DVCC3n DVCC2m + 0.3 DVCC3n + 0.3
SDI/ DINT , TCK, TMS, TDI, TRST
NMI , BW0, BW1
X1
VIH4
2.2 V CVCC2 2.7 V IOL = 2 mA DVCC3n 2.7 V DVCC3n < 2.7 V DVCC2m 2.7 V DVCC3n 2.7 V DVCC3n < 2.7 V DVCC2m 2.7 V
0.9 CVCC2 0.4 0.2 DVCC3n 0.4 0.2 DVCC2 0.4 2.4 0.8 DVCC3n 0.8 DVCC2 V
Low-level output voltage
VOL
IOL = 500 A IOH = -2 mA
High-level output voltage
VOH
IOH = -500 A
Note 1: Ta = 25C, DVCC3n = 3.0 V, DVCC2m = 2.5 V, AVCC3 = 3.3 V, unless otherwise noted.
TMP1962F-71
2006-02-21
TMP1962F10AXBG
4.4
DC Electrical Characteristics (3/4)
Ta = -20 to 85C
Parameter
Symbol
Conditions
0.0 VIN DVCC2m (m = 1 to 2) 0.0 VIN DVCC3n (n = 1 to 4) 0.0 VIN AVCC31
Min
Typ. (Note 1)
Max
Unit
Input leakage current
ILI
0.02
5 A
0.0 VIN AVCC32 0.2 VIN DVCC2m - 0.2 (m = 1 to 2) Output leakage current ILO 0.2 VIN DVCC3n - 0.2 (n = 1 to 4) 0.2 VIN AVCC31 - 0.2 0.05 10
Power-down voltage (STOP mode RAM backup) Pull-up resister at Reset Schmitt W Idth PD7, PE3-PE7, PF0-PF1, PI0-PI6, PJ0, PK, PLLOFF , RSTPUP, RESET , DRESET , DBGE , SDI/ DINT , TCK, TMS, TDI, TRST , NMI , BW0, BW1 Programmable pull-up/ pull-down resistor P32-P37,P40-P43 KEY0-KEYD, DRESET,
DBGE , SDI/ DINT , TCK, TMS,
VSTOP (DVCC2) RRST
0.2 VIN AVCC32 - 0.2 VIL2 = 0.2DVCC2m, VIL3 = 0.1DVCC2m VIH2 = 0.8DVCC2m, VIH3 = 0.9DVCC2m 2.2 V DVCC21 2.7 V
2.2 20 50
2.7 240
V k
2.7 V DVCC3n 3.3 V (n = 2, 4) VTH 1.65 V DVCC3n < 2.7 V (n = 2, 4) 2.2 V DVCC2m 2.7 V (m = 1 to 2) DVCC3n = 3.0 V 0.3 V (n = 2 to 4) PKH DVCC3n = 2.5 V 0.2 V (n = 2 to 4) DVCC3n = 2.0 V 0.2 V (n = 2 to 4) CIO fc = 1 MHz
0.4
0.9 V
0.3
0.6
15 20 25
50 50 160
100 240 600 10 pF k
TDI, TRST Pin capacitance (Except power supply pins)
Note 1: Ta = 25C, DVCC3n = 3.0 V, DVCC2m = 2.5 V, AVCC3 = 3.3 V, unless otherwise noted.
TMP1962F-72
2006-02-21
TMP1962F10AXBG
4.5
DC Electrical Characteristics (4/4)
DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, DVCC3n = 3.0 V 0.3 V, AVCC3m = 3.3 V 0.2 V
Ta = -20 to 85C (n = 1 to 4, m = 1, 2)
Parameter
NORMAL (Note 2): Gear = 1/1 IDLE (Doze) IDLE (Halt)
Symbol
Conditions
fsys = 40.5 MHz (fOSC = 13.5 MHz, PLLON) INTLV = "H"
Min
Typ. (Note 1)
90 40 33
Max
110 60 50
Unit
mA
ICC
DVCC2m = FVCC2 = CVCC2 = 2.2 to 2.7 V DVCC3n = 1.65 to 3.3 V AVCC3m = 2.7 to 3.5 V FVCC3 = 3.0 to 3.6 V 55 900 A
STOP
Note 1: Ta = 25C, DVCC2m = 2.5 V, DVCC3n = 3.0 V, AVCC3m = 3.3 V, unless otherwise noted. Note 2: Measured with the CPU dhrystone operating, all I/O peripherals channel on, and 16-bit external bus operated with 4 system clocks. Note 3: The supply current flowing through the DVCC2m, FVCC2, DVCC3n, CVCC2, FVCC3 and AVCC3m pins is included in the digital supply current parameter (ICC).
TMP1962F-73
2006-02-21
TMP1962F10AXBG
4.6
ADC Electrical Characteristics
DVCC15=CVCC15=1.5V AVCC3m 3.0V 0.2V Parameter 0.15V,DVCC2 Symbol
VREFH VREFL VAIN AVCCm = VREFH = 3.0V 0.3V DVSS = AVSS = VREFL AVCCm = VREFH = 3.0V 0.3V DVSS = AVSS = VREFL
2.5V
0.2V, DVCC3n Condition
3.0V Min
2.7
0.3V , Typ
AVCC AVSS
Max
3.3
AVCCm+ 0.3 AVSS + 0.2
Unit
V
Analog reference voltage (+) Analog reference voltage (-) Analog input voltage Analog supply During conversion current ADMOD1.VREFON = 1
AVCCm- 0.3 AVSS
VREFL 0.35
VREFH 1.0 mA
IREF Not conversion ADMOD1.VREFON = 0 Analog input capacitance Analog input impedance Integral linearity error
0.02 5.0 5.0
10
A pF
Differential linearity error Off set error
Gain error
AVCCm = VREFH = 3.0V 0.2V DVSS = AVSS = VREFL AIN input impedance R 13.3k C 20pF AVCCm capacitor 10 F VREFH capacitor 10 F Conversion time 7.9 s Note*
2 1.5 2 2
3 3 3 6
LSB
LSB LSB
LSB
Note 1: 1 LSB = (VREFH - VREFL) / 1024 (V) Note 2: The supply current flowing through the AVCC pin is included in the digital supply current parameter (ICC). Note 3: Please shift to halt condition in AD converter before changing the standby mode of this product to STOP mode.
Note*:Recommend to connect an external capacitor* 0.1 F
TMP1962F-74
2006-02-21
TMP1962F10AXBG
4.7
AC Electrical Characteristics
Multiplex Bus Mode
(1) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 3.0 V 0.3 V, Ta = -20 to 85C (m = 1 to 2)
4.7.1
1. ALE width = 0.5 clock cycle, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 System clock period (x) A0-A15 valid to ALE low A0-A15 hold after ALE low ALE pulse width high ALE low to RD , WR or HWR asserted
RD , WR or HWR negated to ALE high
No.
Parameter
Symbol
tSYS tAL tLA tLL tLC tCL tACL tACH tCAR tADL tADH tRD tRR tHR tRAE tWW tDW tWD tAWH tAWL tCW 24.6 0.5x - 4.3 0.5x - 1.8 0.5x - 0.3 0.5x - 2.3 x - 0.6 x - 5.1 x - 5.1 x - 1.6
40.5 MHz (fsys) (Note) Max Min
8 10.5 12 10 24 19.5 19.5 23
Unit
ns ns ns ns ns ns ns ns ns
Max
A0-A15 valid to RD , WR or HWR asserted A16-A23 valid to RD , WR or HWR asserted A16-A23 hold after RD , WR or HWR negated A0-A15 valid to D0-D15 Data in A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
x (2 + W) - 35.8 x (2 + W) - 35.8 x (1 + W) - 30.7 x (1 + W) - 2.7 0 x - 0.1 x (1 + W) - 3.2 x (1 + W) - 4.2 x - 0.1 x (3 + 0.5) - 21.6 x (3 + 0.5) - 21.6 x (0.5 + 3 + N - 2) - 4.1 x (1.5 + 3 + N - 2) - 18.7 57.4 46.5 0 24.5 46 45 24.5
38 38 18.5
ns ns ns ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A15 output
WR or HWR width low
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A16-A23 valid to WAIT input A0-A15 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
64.5 64.5 67.4
ns ns ns
Note:
No. 1 to 18 indicate the values obtained with 1 programmed wait state. N0. 19 and 20 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-75
2006-02-21
TMP1962F10AXBG
2. ALE width = 1.5 clock cycles, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 System clock period (x) A0-A15 valid to ALE low A0-A15 hold after ALE low ALE pulse width high ALE low to RD , WR or HWR asserted
RD , WR or HWR negated to ALE high
No.
Parameter
Symbol
tSYS tAL tLA tLL tLC tCL tACL tACH tCAR tADL tADH tRD tRR tHR tRAE tWW tDW tWD tAWH tAWL tCW 24.6
40.5 MHz (fsys) (Note) Max Min
33 10.5 36.5 10 24 44 44 23
Unit
ns ns ns ns ns ns ns ns ns
Max
1.5x - 3.9 0.5x - 1.8 1.5x - 0.4 0.5x - 2.4 x - 0.6 2x - 5.2 2x - 5.2 x - 1.6 x (3 + W) - 35.9 x (3 + W) - 35.9 x (1 + W) - 30.7 x (1 + W) - 2.7 0 x x (1 + W) - 3.2 x (1 + W) - 4.2 x - 0.1 x (4 + 0.5) - 21.7 x (4 + 0.5) - 21.7 x (0.5 + 3 + N - 2) - 4.1 x (1.5 + 3 + N - 2) - 18.7
A0-A15 valid to RD , WR or HWR asserted A16-A23 valid to RD , WR or HWR asserted A16-A23 hold after RD , WR or HWR negated A0-A15 valid to D0-D15 Data in A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
62.5 62.5 18.5 46.5 0 24.6 46 45 24.5 89 89 57.4 67.4
ns ns ns ns ns ns ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A15 output WR or HWR width low
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A16-A23 valid to WAIT input A0-A15 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
Note:
No. 1 to 18 indicate the values obtained with 1 programmed wait state. N0. 19 and 20 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-76
2006-02-21
TMP1962F10AXBG
(2) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 2.5 V 0.2 V, Ta = 20 to 85C (m = 1 to 2) 1. ALE width = 0.5 clock cycle, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 System clock period (x) A0-A15 valid to ALE low A0-A15 hold after ALE low ALE pulse width high ALE low to RD , WR or HWR asserted
RD , WR or HWR negated to ALE
No.
Parameter
Symbol
tSYS tAL tLA tLL tLC tCL tACL tACH tCAR tADL tADH tRD tRR tHR tRAE tWW tDW tWD tAWH tAWL tCW 24.6
40.5 MHz (fsys) (Note) Max Min
10 10.5 12 10 24 19.5 19.5 23
Unit
ns ns ns ns ns ns ns ns ns
Max
0.5x - 2.3 0.5x - 1.8 0.5x - 0.3 0.5x - 2.3 x - 0.6 x - 5.1 x - 5.1 x - 1.6 x (2 + W) - 36.8 x (2 + W) - 36.8 x (1 + W) - 31.7 x (1 + W) - 2.2 0 x - 0.1 x (1 + W) - 2.7 x (1 + W) - 3.8 x -0.1 x (3 + 0.5) - 22.6 x (3 + 0.5) - 22.6 x (0.5 + 3 + N - 2) - 5.1 x (1.5 + 3 + N - 2) - 19.7
high A0-A15 valid to RD , WR or HWR asserted A16-A23 valid to RD , WR or HWR asserted A16-A23 hold after RD , WR or HWR negated A0-A15 valid to D0-D15 Data in A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
37 37 17.5 47 0 24.5 46.5 45.5 24.5 63.5 63.5 56.4 66.4
ns ns ns ns ns ns ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A15 output
WR or HWR width low
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A16-A23 valid to WAIT input A0-A15 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
Note:
No. 1 to 18 indicate the values obtained with 1 programmed wait state. N0. 19 and 20 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-77
2006-02-21
TMP1962F10AXBG
2. ALE width = 1.5 clock cycles, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 System clock period (x) A0-A15 valid to ALE low A0-A15 hold after ALE low ALE pulse width high ALE low to RD , WR or HWR asserted
RD , WR or HWR negated to ALE high
No.
Parameter
Symbol
tSYS tAL tLA tLL tLC tCL tACL tACH tCAR tADL tADH tRD tRR tHR tRAE tWW tDW tWD tAWH tAWL tCW 24.6
40.5 MHz (fsys) (Note) Max Min
34.5 10.5 36.5 10 24 44 44 23
Unit
ns ns ns ns ns ns ns ns ns
Max
1.5x - 2.4 0.5x - 1.8 1.5x - 0.4 0.5x - 2.4 x - 0.6 2x - 5.2 2x - 5.2 x - 1.6 x (3 + W) - 36.9 x (3 + W) - 36.9 x (1 + W) - 31.7 x (1 + W) - 2.2 0 x - 0.1 x (1 + W) - 2.7 x (1 + W) - 3.8 x -0.1 x (4 + 0.5) - 22.6 x (4 + 0.5) - 22.6 x (0.5 + 3 + N - 2) - 5.1 x (1.5 + 3 + N - 2) - 19.7
A0-A15 valid to RD , WR or HWR asserted A16-A23 valid to RD , WR or HWR asserted A16-A23 hold after RD , WR or HWR negated A0-A15 valid to D0-D15 Data in A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
61.5 61.5 17.5 47 0 24.5 46.5 45.5 24.5 88.1 88.1 56.4 66.4
ns ns ns ns ns ns ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A15 output WR or HWR width low
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A16-A23 valid to WAIT input A0-A15 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
Note:
No. 1 to 18 indicate the values obtained with 1 programmed wait state. N0. 19 and 20 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-78
2006-02-21
TMP1962F10AXBG
(3) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 1.8 V 0.15 V, Ta = 20 to 85C (m = 1 to 2) 1. ALE width = 0.5 clock cycle, 2 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 System clock period (x) A0-A15 valid to ALE low A0-A15 hold after ALE low ALE pulse width high ALE low to RD , WR or HWR asserted
RD , WR or HWR negated to ALE
No.
Parameter
Symbol
tSYS tAL tLA tLL tLC tCL tACL tACH tCAR tADL tADH tRD tRR tHR tRAE tWW tDW tWD tAWH tAWL tCW 24.6
40.5 MHz (fsys) (Note) Max
33333 10 10.5 12 10 24 19.5 19.5 23
Unit
ns ns ns ns ns ns ns ns ns
Min
Max
0.5x - 2.3 0.5x - 1.8 0.5x - 0.3 0.5x - 2.3 x - 0.6 x - 5.1 x - 5.1 x - 1.6 x (2 + W) - 42.4 x (2 + W) - 42.4 x (1 + W) - 37.3 x (1 + W) - 2.3 0 x - 0.1 x (1 + W) - 2.8 x (1 + W) - 3.8 x - 0.1 x (3 + 0.5) - 28.1 x (3 + 0.5) - 28.1 x (0.5 + 3 + N - 2) - 6.1 x (1.5 + 3 + N - 2) - 24.7
high A0-A15 valid to RD , WR or HWR asserted A16-A23 valid to RD , WR or HWR asserted A16-A23 hold after RD , WR or HWR negated A0-A15 valid to D0-D15 Data in A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
56 56 36.5 71.5 0 24.5 71 70 24.5 58 58 55.4 61.4
ns ns ns ns ns ns ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A15 output
WR or HWR width low
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A16-A23 valid to WAIT input A0-A15 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
Note:
No. 1 to 18 indicate the values obtained with 1 programmed wait state. N0. 19 and 20 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-79
2006-02-21
TMP1962F10AXBG
2. ALE width = 1.5 clock cycles, 2 programmed wait states Equation No.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Parameter
System clock period (x) A0-A15 valid to ALE low A0-A15 hold after ALE low ALE pulse width high ALE low to RD , WR or HWR asserted
RD , WR or HWR negated to ALE high
Symbol Min
tSYS tAL tLA tLL tLC tCL tACL tACH tCAR tADL tADH tRD tRR tHR tRAE tWW tDW tWD tAWH tAWL tCW x (0.5 + 3 + N - 2) - 6.1 x (1 + W) - 2.3 0 x - 0.1 x (1 + W) - 2.8 x (1 + W) - 3.8 x - 0.1 x (4 + 0.5) - 28.1 x (4 + 0.5) - 28.1 x (1.5 + 3 + N - 2) - 24.7 24.6 1.5x - 2.4 0.5x - 1.8 1.5x - 0.4 0.5x - 2.3 x - 0.6 2x - 5.2 2x - 5.2 x - 1.6 x (3 + W) - 42.5 x (3 + W) - 42.5 x (1 + W) - 37.3
40.5 MHz (fsys) (Note) Max Min
34.5 10.5 36.5 10 24 44 44 23 80.5 80.5 36.5 71.5 0 24.5 71 70 24.5 82.6 82.6 55.4 61.4
Unit
ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Max
A0-A15 valid to RD , WR or HWR asserted A16-A23 valid to RD , WR or HWR asserted A16-A23 hold after RD , WR or HWR negated A0-A15 valid to D0-D15 Data in A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
D0-D15 hold after RD negated
RD negated to next A0-A15 output WR or HWR width low
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A16-A23 valid to WAIT input A0-A15 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
Note:
No. 1 to 18 indicate the values obtained with 1 programmed wait state. N0. 19 and 20 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-80
2006-02-21
TMP1962F10AXBG
(1) Read cycle timing, ALE width = 0.5 clock cycle, 1 programmed wait state
BUS Cycle = 4 CLK Cycles
Internal CLK
S1 tLL
W1
S2
S3
S1
ALE
tAL
tCL
tLA AD0 to AD15 A0 to A15 tADL tADH A16 to A23 tACH tACL tLC tRD tRR tCAR tRAE tHR D0 to D15
RD
CS0 to CS3
R/W
TMP1962F-81
2006-02-21
TMP1962F10AXBG
(2) Read cycle timing, ALE width = 1.5 clock cycles, 1 programmed wait state
BUS Cycle = 5 CLK Cycles Internal CLK
S0 tLL
S1
W1
S2
S3
S0
ALE
tAL
tCL
tLA AD0 to AD15 A0 to A15 tADL tADH A16 to A23 tACH tACL tLC tRR tRD
RD
D0 to D15
tHR
tCAR tRAE
CS0 to CS3
R/W
TMP1962F-82
2006-02-21
TMP1962F10AXBG
(3) Read cycle timing, ALE width = 1.5 clock cycles, 2 externally generated wait states with N = 1
BUS Cycle = 6 CLK Cycles
Internal CLK
S1
W
W
S2
S3
S0
ALE
AD0 to AD15
A0 to A15
D0 to D15
AD16 to AD23
RD
tCW
CS0 to CS3
R/W
tAWL/H
WAIT
TMP1962F-83
2006-02-21
TMP1962F10AXBG
(4) Read cycle timing, ALE width = 1.5 clock cycles, 4 externally generated wait states with N=1
BUS Cycle = 8 CLK Cycles
Internal CLK
S1
W
W
W
W
S2
S3
S0
ALE
AD0 to AD15
A0 to A15
D0 to D15
AD16 to AD23
RD
tCW
CS0 to CS3
R/W
tAWL/H
WAIT
TMP1962F-84
2006-02-21
TMP1962F10AXBG
(5) Write cycle timing, ALE width = 1.5 clock cycles, zero wait state
BUS Cycle = 4 CLK Cycles Internal CLK tLL ALE tAL tCL
tLA AD0 to AD15 A0 to A15 D0 to D15 tDW AD16 to AD23 tACH tACL tLC tWW tCAR tWD
WR , HWR
CS0 to CS3
R/W
TMP1962F-85
2006-02-21
TMP1962F10AXBG
4.7.2
Separate Bus Mode
(1) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 3.0 V 0.3 V, Ta = -20 to 85C (m = 1 to 2)
1. SYSCR3 = 0, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 System clock period (x) A0-A23 valid to RD , WR or HWR asserted A0-A23 hold after RD , WR or HWR negated A0-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
No.
Parameter
Symbol
tSYS tAC tCAR tAD tRD tRR tHR tRAE tWW tDO tDW tWD tAW tCW 24.6 x - 5.1 x - 1.6
40.5 MHz (fsys) (Note) Max Min
19.5 23
Unit
ns ns ns
Max
x (2 + W) - 35.8 x (1 + W) - 30.7 x (1 + W) - 2.7 0 x- 0.1 x (1 + W) - 3.2 x (1 + W) - 4.2 x - 0.1 x (3 + 0.5) - 21.6 x (0.5 + 3 + N - 2) - 4.1 x (1.5 + 3 + N - 2) - 18.7 57.4 45 24.5 46.5 0 24.5 46
38 18.5
ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A23 output WR or HWR width low WR or HWR asserted to D0-D15 valid
1
ns ns ns
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A0-A23 valid to WAIT input
WAIT hold after RD , WR or HWR
64.5 67.4
ns ns
asserted
Note:
No. 1 to 12 indicate the values obtained with 1 programmed wait state. N0. 13 and 14 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-86
2006-02-21
TMP1962F10AXBG
2. SYSCR3 = 1, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 System clock period (x) A0-A23 valid to RD , WR or HWR asserted A0-A23 hold after RD , WR or HWR negated A0-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
No.
Parameter
Symbol
tSYS tAC tCAR tAD tRD tRR tHR tRAE tWW tDO tDW tWD tAW tCW 24.6 2x - 5.2 x - 1.6
40.5 MHz (fsys) (Note) Max Min
44 23
Unit
ns ns ns
Max
x (3 + W) - 35.9 x (1 + W) - 30.7 x (1 + W) - 2.7 0 x x (1 + W) - 3.2 x (1 + W) - 4.2 x - 0.1 x (4 + 0.5) - 21.7 x (0.5 + 3 + N - 2) - 4.1 x (1.5 + 3 + N - 2) - 18.7 57.4 45 24.5 46.5 0 24.6 46
62.5 18.5
ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A23 output WR or HWR width low
WR or HWR asserted to D0-D15 valid
1
ns ns ns
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A0-A23 valid to WAIT input
WAIT hold after RD , WR or HWR
89 67.4
ns ns
asserted
Note:
No. 1 to 12 indicate the values obtained with 1 programmed wait state. N0. 13 and 14 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-87
2006-02-21
TMP1962F10AXBG
(2) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 2.5 V 0.2 V, Ta = -20 to 85C (m = 1 to 2) 1. SYSCR3 = 0, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 System clock period (x) A0-A23 valid to RD , WR or HWR asserted A0-A23 hold after RD , WR or HWR negated A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
No.
Parameter
Symbol
tSYS tAC tCAR tAD tRD tRR tHR tRAE tWW tDO tDW tWD tAW tCW 24.6 x - 5.1 x - 1.6
40.5 MHz (fsys) (Note) Max Min
19.5 23
Unit
ns ns ns
Max
x (2 + W) - 36.8 x (1 + W) - 31.7 x (1 + W) - 2.2 0 x - 0.1 x (1 + W) - 2.7 x (1 + W) - 3.8 x -0.1 x (3 + 0.5) - 22.6 x (0.5 + 3 + N - 2) - 5.1 x (1.5 + 3 + N - 2) - 19.7 56.4 45.5 24.5 47 0 24.5 46.5
37 17.5
ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A23 output WR or HWR width low WR or HWR asserted to D0-D15 valid
1.5
ns ns ns
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A0-A23 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
63.5 66.4
ns ns
Note:
No. 1 to 12 indicate the values obtained with 1 programmed wait state. N0. 13 and 14 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-88
2006-02-21
TMP1962F10AXBG
2. SYSCR3 = 1, 1 programmed wait state Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 System clock period (x) A0-A23 valid to RD , WR or HWR asserted A0-A23 hold after RD , WR or HWR negated A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
No.
Parameter
Symbol
tSYS tAC tCAR tAD tRD tRR tHR tRAE tWW tDO tDW tWD tAW tCW 24.6 2x - 5.2 x - 1.6
40.5 MHz (fsys) (Note) Max Min
44 23
Unit
ns ns ns
Max
x (3 + W) - 36.9 x (1 + W) - 31.7 x (1 + W) - 2.2 0 x - 0.1 x (1 + W) - 2.7 x (1 + W) - 3.8 x -0.1 x (4 + 0.5) - 22.6 x (0.5 + 3 + N - 2) - 5.1 x (1.5 + 3 + N - 2) - 19.7 56.4 45.5 24.5 47 0 24.5 46.5
61.5 17.5
ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A23 output WR or HWR width low
WR or HWR asserted to D0-D15 valid
1.5
ns ns ns
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A0-A23 valid to WAIT input
WAIT hold after RD , WR or HWR
88.1 66.4
ns ns
asserted
Note:
No. 1 to 12 indicate the values obtained with 1 programmed wait state. N0. 13 and 14 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-89
2006-02-21
TMP1962F10AXBG
(3) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 1.8 V 0.15 V, Ta = -20 to 85C (m = 1 to 2) 1. SYSCR3 = 0, 2 programmed wait states Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 System clock period (x) A0-A23 valid to RD , WR or HWR asserted A0-A23 hold after RD , WR or HWR negated A0-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
No.
Parameter
Symbol
tSYS tAC tCAR tAD tRD tRR tHR tRAE tWW tDO tDW tWD tAWH tCW 24.6 x - 5.1 x - 1.6
40.5 MHz (fsys) (Note) Max Min
19.5 23
Unit
ns ns ns
Max
x (2 + W) - 42.4 x (1 + W) - 37.3 x (1 + W) - 2.3 0 x - 0.1 x (1 + W) - 2.8 x (1 + W) - 3.8 x - 0.1 x (3 + 0.5) - 28.1 x (0.5 + 3 + N - 2) - 6.1 x (1.5 + 3 + N - 2) - 24.7 55.4 70 24.5 71.5 0 24.5 71
56 36.5
ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A23 output WR or HWR width low WR or HWR asserted to D0-D15 valid
2
ns ns ns
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A0-A23 valid to WAIT input
WAIT hold after RD , WR or HWR asserted
58 61.4
ns ns
Note:
No. 1 to 12 indicate the values obtained with 1 programmed wait state. N0. 13 and 14 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-90
2006-02-21
TMP1962F10AXBG
2. SYSCR3 = 1, 2 programmed states Equation Min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 System clock period (x) A0-A23 valid to RD , WR or HWR asserted A0-A23 hold after RD , WR or HWR negated A16-A23 valid to D0-D15 Data in
RD asserted to D0-D15 data in RD width low
No.
Parameter
Symbol
tSYS tAC tCAR tAD tRD tRR tHR tRAE tWW tDO tDW tWD tAWH tCW 24.6 2x - 5.2 x - 1.6
40.5 MHz (fsys) (Note) Max Min
44 23
Unit
ns ns ns
Max
x (3 + W) - 42.5 x (1 + W) - 37.3 x (1 + W) - 2.3 0 x - 0.1 x (1 + W) - 2.8 x (1 + W) - 3.8 x - 0.1 x (4 + 0.5) - 28.1 x (0.5 + 3 + N - 2) - 6.1 x (1.5 + 3 + N - 2) - 24.7 55.4 70 24.5 71.5 0 24.5 71
80.5 36.5
ns ns ns ns ns ns
D0-D15 hold after RD negated
RD negated to next A0-A23 output WR or HWR width low
WR or HWR asserted to D0-D15 valid
2
ns ns ns
D0-D15 valid to WR or HWR negated D0-D15 hold after WR or HWR negated A0-A23 valid to WAIT input
WAIT hold after RD , WR or HWR
82.6 61.4
ns ns
asserted
Note:
No. 1 to 12 indicate the values obtained with 1 programmed wait state. N0. 13 and 14 indicate the values obtained with 4 externally generated wait states with N = 1. AC measurement conditions: * * Output levels: High = 0.8DVCC33 V/Low 0.2DVCC33 V, CL = 30 pF Input levels: High = 0.7DVCC33 V/Low 0.3DVCC33 V
W: Number of wait state cycles inserted (0 to 7 for programmed wait insertion) N: Value of N for (3 + N) wait insertion
TMP1962F-91
2006-02-21
TMP1962F10AXBG
(1) Read cycle timing (SYSCR3 = 0, 1 programmed wait state)
BUS Cycle = 4 CLK Cycles Internal CLK
S1
W1
S2
S3
S1
CS0 to CS3
tAD tAC tHR D0 to D15
A0 to A23
D0 to D15
tRR tRD
RD
tCAR tRAE
R/W
TMP1962F-92
2006-02-21
TMP1962F10AXBG
(2) Read cycle timing (SYSCR3 = 1, 1 programmed wait state)
BUS Cycle = 5 CLK Cycles Internal CLK
S0
S1
W1
S2
S3
S0
CS0 to CS3
tAD A16 to A23 tAC
tAD D0 to D15
tHR D0 to D15
tRR tRD
RD
tCAR tRAE
R/W
TMP1962F-93
2006-02-21
TMP1962F10AXBG
(3) Read cycle timing SYSCR3 = 1, 2 externally generated wait states with N = 1)
BUS Cycle = 6 CLK Cycles
Internal CLK
S1
W
W
S2
S3
S0
CS0 to CS3
A0 to A23
D0 to D15
D0 to D15
RD
tCW
R/W
tAW
WAIT
TMP1962F-94
2006-02-21
TMP1962F10AXBG
(4) Read cycle timing (SYSCR3 = 1, 4 externally generated wait states with N = 1)
BUS Cycle = 8 CLK Cycles
Internal CLK
S1
W
W
W
W
S2
S3
S0
CS0 to CS3
A0 to A23
D0 to D15
D0 to D15
RD
tCW
R/W
tAW
WAIT
TMP1962F-95
2006-02-21
TMP1962F10AXBG
(5) Write cycle timing (SYSCR3 = 1, zero wait sate)
BUS Cycle = 4 CLK Cycles
Internal CLK
CS0 to CS3
A0 to A23
tAC
tDW D0 to D15 tDO tWW D0 to D15
tWD
tCAR
WR , HWR
R/W
TMP1962F-96
2006-02-21
TMP1962F10AXBG
4.8
Transfer with DMA Request
The following shows an example of a transfer between the on-chip RAM and an external device in multiplex bus mode. * * * * 16-bit data bus width, non-recovery time Level data transfer mode Transfer size of 16 bits, device port size (DPS) of 16 bits Source/destination: on-chip RAM/external device
The following shows transfer operation timing of the on-chip RAM to an external bus during write operation (memory-to-memory transfer).
(2) (1)
DREQn
ALE A [23:16] AD [15:0] (N - 2)th transfer
RD
(N - 1)th transfer
Nth transfer
WR
HWR CSn R/W
(1) Indicates the condition under which Nth transfer is performed successfully. (2) Indicates the condition under which (N + 1)th transfer is not performed.
TMP1962F-97
2006-02-21
TMP1962F10AXBG
(1) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 2.3 V to 3.3 V, Ta = -20 to 85C (m = 1 to 2) 40.5 MHz (fsys) (Note) Min
45 0
No.
Parameter
RD asserted to DREQn negated
Symbol (1) Min
Equation (2) Max
(2W + ALE + 6) x - 51 (2W + ALE + 4) x - 51.8
Unit
Max
195 145 ns ns
2 3
(external device to on-chip RAM transfer)
WR / HWR rising to DREQn negated (on-chip RAM to external device transfer)
tDREQ_r tDREQ_w
Wx - 4.2 0
(2) DVCC2m = FVCC2 = CVCC2 = 2.5 V 0.2 V, FVCC3 = 3.3 V 0.3 V, AVCC3m = 3.3 0.2 V, DVCC33 = 1.8 V 0.15 V, Ta = 20 to 85C (m = 1 to 2) 40.5 MHz (fsys) (Note) Min
43 0
No.
Parameter
RD asserted to DREQn negated (external device to on-chip RAM transfer)
WR / HWR rising to DREQn negated (on-chip RAM to external device transfer)
Symbol (1) Min
Wx - 6.2 0
Equation (2) Max
(2W + ALE + 6) x - 56 (2W + ALE + 4) x - 56.8
Unit
Max
190 140 ns ns
2 3
tDREQ_r tDREQ_w
W:
Number of wait-state cycles inserted. In the case of (1 + N) externally generated wait states with N = 1, W becomes 2.
ALE: Apply ALE = 0 for ALE 0.5 clock, ALE = 1 for ALE 1.5 clock. The values in the above table are obtained with W = 2, ALE = 0.
TMP1962F-98
2006-02-21
TMP1962F10AXBG
4.9
Serial Channel Timing
(1) I/O Interface Mode (DVCC3n = 3.0 V 0.3V) In the table below, the letter x represents the fsys cycle period, which varies depending on the programming of the clock gear function.
1. SCLK input mode (SIO0 to SIO6) Parameter
SCLK period TxD data to SCLK rise or fall* TxD data hold after SCLK rise or fall* RxD data valid to SCLK rise or fall* RxD data hold after SCLK rise or fall*
Symbol
tSCY tOSS tOHS tSRD tHSR
Equation Min
12x 2x - 45 8x - 15 30 2x - 30
40.5 MHz Min
296 4 182 30 19
Max
Max
Unit
ns ns ns ns ns
* SCLK rise or fall: Measured relative to the programmed active edge of SCLK. 2. SCLK output mode (SIO0 to SIO6) Parameter
SCLK period (programmable) TxD data to SCLK rise TxD data hold after SCLK rise RxD data valid to SCLK rise RxD data hold after SCLK rise
Symbol
tSCY tOSS tOHS tSRD tHSR
Equation Min
8x 4x - 10 4x - 10 45 0
40.5 MHz Min
197 88 88 45 0
Max
Max
Unit
ns ns ns ns ns
TMP1962F-99
2006-02-21
TMP1962F10AXBG
(2) I/O Interface Mode (DVCC3n = 2.5 V 0.2 V) In the table below, the letter x represents the fsys cycle period, which varies depending on the programming of the clock gear function. 1. SCLK input mode (SIO0 to SIO6) Parameter
SCLK period TxD data to SCLK rise or fall* TxD data hold after SCLK rise or fall* RxD data valid to SCLK rise or fall* RxD data hold after SCLK rise or fall*
Symbol
tSCY tOSS tOHS tSRD tHSR
Equation Min
16x 4x - 60 10x - 15 30 2x + 10
40.5 MHz Min
395 38 232 30 59
Max
Max
Unit
ns ns ns ns ns
* SCLK rise or fall: Measured relative to the programmed active edge of SCLK. 2. SCLK output mode (SIO0 to SIO6) Parameter
SCLK period (programmable) TxD data to SCLK rise TxD data hold after SCLK rise RxD data valid to SCLK rise RxD data hold after SCLK rise tSCY SCLK SCK Output Mode/ Active-High SCL Input Mode SCLK Active-Low SCK Input Mode OUTPUT DATA TxD
Symbol
tSCY tOSS tOHS tSRD tHSR
Equation Min
8x 4x - 10 4x - 10 60 0
40.5 MHz Min
197 88 88 60 0
Max
Max
Unit
ns ns ns ns ns
tOSS 0 tSRD 1
tOHS 2 tHSR 1 VALID 2 VALID 3 VALID 3
INPUT DATA RxD
0 VALID
TMP1962F-100
2006-02-21
TMP1962F10AXBG
4.10 SBI Timing
(1) I2C Mode In the table below, the letters x and T represent the fsys and T0 cycle periods, respectively. The letter n denotes the value of n programmed into the SCK[2:0] (SCL output frequency select) field in the SBI0CR1. Fast Mode Standard Mode fSYS = 8 MHz n = 4 fSYS = 32 MHz n = 4 Min
0 4.0 4.7 4.0 (Note 5) 4.7 0.0 250 4.0 (Note 5) 4.7
Parameter
SCL clock frequency Hold time for START condition SCL clock low width (Input) (Note 1) Setup time for a repeated START condition Data hold time (Input) (Note 3, 4) Data setup time Setup time for STOP condition Bus free time between STOP and START conditions
Symbol
tSCL tHD:STA tLOW
Equation Min
0
Unit
kHz s s s s s ns s s
Max
Max
100
Min
0 0.6 1.3 0.6 0.6 0.0 100 0.6 1.3
Max
400
SCL clock high width (Output) (Note 2) tHIGH tSU:STA tHD:DAT tSU:DAT tSU:STO tBUF
Note 1: SCL clock low width (output) is calculated with (2 (n - 1) + 4) T. Standard mode: 6 sec Typ (fsys = 8 MHz, n = 4) Fast mode: 1.5 sec Typ (fsys = 32 MHz, n = 4) Note 2: SCL clock high width (output) is calculated with (2 (n - 1)) T. Standard mode: 4 sec Typ (fsys = 8MHz, n = 4) Fast mode: 1 sec Typ (fsys = 32 MHz, n = 4) Note 3: The output data hold time is equal to 12x. Note 4: The Philips I2C-bus specification states that a device must internally provide a hold time of at least 300 ns for the SDA signal to bridge the undefined region of the fall edge of SCL. However, TMP1962F10AXBG SBI does not satisfy this requirement. Also, the output buffer for SCL does not incorporate slope control of the falling edges; therefore, the equipment manufacturer should design so that the input data hold time shown in the table is satisfied, including tr/tf of the SCL and SDA lines. Note 5: Software-dependent
tSCL tf SCL tHD;STA SDA S S: START condition Sr: Repeated START condition P: STOP condition Sr P tSU;DAT tHD;DAT tSU;STA tSU;STO tBUF tLOW tr tHIGH
Note 6: To operate the SBI in I2C Fast mode, the fysy frequency must be no less than 20 MHz. To operate the SBI in I2C Standard mode, the fsys frequency must be no less than 4 MHz.
TMP1962F-101
2006-02-21
TMP1962F10AXBG
(2) Clock-Synchronous 8-Bit SIO Mode In the table below, the letters x and T represent the fsys and T0 cycle periods, respectively. The letter n denotes the value of n programmed into the SCK[2:0] (SCL output frequency select) field in the SBI0CR1. The electrical specifications below are for an SCK signal with a 50% duty cycle. 1. SCK Input Mode Parameter
SCK period SO data to SCK rise SO data hold after SCK rise SI data valid to SCK rise SI data hold after SCK rise
Symbol
tSCY tOSS tOHS tSRD tHSR
Equation Min
16x (tSCY/2) - (6x + 30) (tSCY/2) + 4x 0 4x + 10
40.5 MHz Max Min
395 19 296 0 108
Max
Unit
ns ns ns ns ns
2. SCK Output Mode Parameter
SCK period (programmable) SO data to SCK rise SO data hold after SCK rise SI data valid to SCK rise SI data hold after SCK rise
Symbol
tSCY tOSS tOHS tSRD tHSR
Equation Min
2 *T (tSCY/2) - 20 (tSCY/2) - 20 2x + 30 0
n
32 MHz Max Min
1000 480 480 92 0
Max
Unit
ns ns ns ns ns
tSCY SCLK tOSS OUTPUT DATA TxD 0 tSRD INPUT DATA TxD 0 VALID 1 VALID 1 tHSR 2 VALID 3 VALID tOHS 2 3
TMP1962F-102
2006-02-21
TMP1962F10AXBG
4.11 Event Counter
In the table below, the letter x represents the fsys cycle period. Equation Min
2X + 100 2X + 100
Parameter
Clock low pulse width Clock high pulse width
Symbol
tVCKL tVCKH
40.5 MHz Min
149 149
Max
Max
Unit
ns ns
4.12 Timer Capture
In the table below, the letter x represents the fsys cycle period. Equation Min
2X + 100 2X + 100
Parameter
Low pulse width High pulse width
Symbol
tCPL tCPH
40.5 MHz Min
149 149
Max
Max
Unit
ns ns
4.13 General Interrupts
In the table below, the letter x represents the fsys cycle period. Equation Min
X + 100 X + 100
Parameter
Low pulse width for INT0-INTA High pulse width for INT0-INTA
Symbol
tINTAL tINTAH
40.5 MHz Min
125 125
Max
Max
Unit
ns ns
4.14 NMI and STOP Wake-up Interrupts
Parameter
Low pulse width for NMI and INT0-INT4 High pulse width for INT0-INT4
Symbol
tINTBL tINTBH
Equation Min
100 100
40.5 MHz Min
100 100
Max
Max
Unit
ns ns
4.15 SCOUT Pin
Parameter
Clock high pulse width Clock low pulse width
Symbol
tSCH tSCL
Equation Min
0.5T - 5 0.5T - 5
40.5 MHz Min
7.4 7.4
Max
Max
Unit
ns ns
Note: In the above table, the letter T represents the cycle period of the SCOUT output clock.
tSCH SCOUT tSCL
TMP1962F-103
2006-02-21
TMP1962F10AXBG
4.16 Bus Request and Bus Acknowledge Signals
BUSRQ
(Note 1)
BUSAK
tBAA
tABA
AD0 to AD15
(Note 2)
A0 to A23, RD , WR
(Note 2)
CS0 to CS3 ,
R / W , HWR
ALE
Parameter
Bus float to BUSAK asserted Bus float after BUSAK negated
Symbol
tABA tBAA
Equation Min
0 0
40.5 MHz Min
0 0
Max
80 80
Max
80 80
Unit
ns ns
Note 1: If the current bus cycle has not terminated due to wait-state insertion, the TMP1962F10AXBG does not respond to BUSRQ until the wait state ends. Note 2: This broken line indicates that output buffers are disabled, not that the signals are at indeterminate states. The pin holds the last logic value present at that pin before the bus is relinquished. This is dynamically accomplished through external load capacitances. The equipment manufacturer may maintain the bus at a predefined state by means of off-chip restores, but he or she should design, considering the time (determined by the CR constant) it takes for a signal to reach a desired state. The on-chip, integrated programmable pullup/pulldown resistors remain active, depending on internal signal states.
TMP1962F-104
2006-02-21
TMP1962F10AXBG
4.17 KWUP Input
Pull-up Register Active Parameter
Low pulse width for KEY0-D High pulse width for KEY0-D
Symbol
tkyTBL tkyTBH
Equation Min
100 100
40.5 MHz Min
100 100
Max
Max
Unit
ns ns
Pull-up Register Inactive Parameter
Low pulse width for KEY0-D
Symbol
tkyTBL
Equation Min
100
40.5 MHz Min
100
Max
Max
Unit
ns
4.18 Dual Pulse Input
Equation Min
8Y Y + 20 Y + 20
Parameter
Dual input pulse period Dual input pulse setup Dual input pulse hold
Symbol
Tdcyc Tabs Tabh
40.5MHz Min
395 70 70
Max
Max
Unit
ns ns ns
Y:
Sampling clock (fsys/2)
A Tabs B Tabh Tdcyc
4.19 ADTRG Input
Equation Min
fsysy/2 + 20 fsysy/2 + 20
Parameter
ADRG low level pulse width ADTRG high level pulse interval
Symbol
tadL Tadh
40.5 MHz Min
32.4 32.4
Max
Max
Unit
ns ns
TMP1962F-105
2006-02-21
TMP1962F10AXBG
5.
Others ESD
MM HBM 200V 1200V
TMP1962F-106
2006-02-21
TMP1962F10AXBG
6.Package
P-FBGA281-1313-0.65B6
TMP1962F-107


▲Up To Search▲   

 
Price & Availability of TMP1962F10AXBG

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X